diff --git a/aws/dynamodb/dynamo.tf b/aws/dynamodb/dynamo.tf index 3703fb56a..6ecb3116e 100644 --- a/aws/dynamodb/dynamo.tf +++ b/aws/dynamodb/dynamo.tf @@ -43,23 +43,11 @@ resource "aws_dynamodb_table" "vault" { type = "S" } - attribute { - name = "Status" - type = "S" - } - attribute { name = "Status#CreatedAt" type = "S" } - global_secondary_index { - name = "Status" - hash_key = "FormID" - range_key = "Status" - projection_type = "ALL" - } - global_secondary_index { name = "StatusCreatedAt" hash_key = "FormID"