diff --git a/services/terraform/dynamodb-test.tf b/services/terraform/dynamodb-test.tf --- a/services/terraform/dynamodb-test.tf +++ b/services/terraform/dynamodb-test.tf @@ -154,3 +154,20 @@ enabled = true } } + +resource "aws_dynamodb_table" "feature-flags-test" { + name = "feature-flags-test" + hash_key = "platform" + range_key = "feature" + billing_mode = "PAY_PER_REQUEST" + + attribute { + name = "platform" + type = "S" + } + + attribute { + name = "feature" + type = "S" + } +} diff --git a/services/terraform/dynamodb.tf b/services/terraform/dynamodb.tf --- a/services/terraform/dynamodb.tf +++ b/services/terraform/dynamodb.tf @@ -222,3 +222,20 @@ type = "S" } } + +resource "aws_dynamodb_table" "feature-flags" { + name = "feature-flags" + hash_key = "platform" + range_key = "feature" + billing_mode = "PAY_PER_REQUEST" + + attribute { + name = "platform" + type = "S" + } + + attribute { + name = "feature" + type = "S" + } +}