Skip to content

Commit bebb5db

Browse files
committed
CCM-11162: add id idx
1 parent 334e28d commit bebb5db

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

infrastructure/terraform/modules/backend-api/dynamodb_table_routing_configuration.tf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,12 @@ resource "aws_dynamodb_table" "routing_configuration" {
3939
]
4040
}
4141

42+
global_secondary_index {
43+
name = "QueryById"
44+
hash_key = "id"
45+
projection_type = "KEYS_ONLY"
46+
}
47+
4248
stream_enabled = true
4349
stream_view_type = "NEW_AND_OLD_IMAGES"
4450
}

0 commit comments

Comments
 (0)