From fb55174970766ac6352af895e8d804dcc4e2cbe6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=20Lis=C3=A9?= Date: Mon, 30 Oct 2023 13:58:40 -0700 Subject: [PATCH] NOBUG: Update attribute (#270) --- terraform/src/db.tf | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/terraform/src/db.tf b/terraform/src/db.tf index 3dd564f..ec34cfc 100644 --- a/terraform/src/db.tf +++ b/terraform/src/db.tf @@ -12,7 +12,7 @@ resource "aws_dynamodb_table" "ar_table_name_cache" { } attribute { - name = "orcs" + name = "pk" type = "S" } } @@ -41,6 +41,11 @@ resource "aws_dynamodb_table" "ar_table" { type = "S" } + attribute { + name = "orcs" + type = "S" + } + global_secondary_index { name = "orcs-index" hash_key = "orcs"