From 56fe55aaa8632fec0d274c07956a5515a634d8ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cle=CC=81ment=20Janin?= Date: Tue, 26 Nov 2024 08:51:07 -0500 Subject: [PATCH] chore: remove unused Vault Status global secondary index --- aws/dynamodb/dynamo.tf | 12 ------------ 1 file changed, 12 deletions(-) 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"