Skip to content

Commit 2d7f977

Browse files
committed
Staging's identity vault's indices were named incorrectly
Jira: IAM-1731
1 parent 32ae0d8 commit 2d7f977

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

terraform/infra/test/dynamo.tf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,27 +29,27 @@ resource "aws_dynamodb_table" "dynamo" {
2929
}
3030
global_secondary_index {
3131
hash_key = "primary_email"
32-
name = "production-identity-vault-primary_email"
32+
name = "${var.environment}-identity-vault-primary_email"
3333
non_key_attributes = []
3434
projection_type = "ALL"
3535
range_key = "id"
3636
}
3737
global_secondary_index {
3838
hash_key = "primary_username"
39-
name = "production-identity-vault-primary_username"
39+
name = "${var.environment}-identity-vault-primary_username"
4040
non_key_attributes = []
4141
projection_type = "ALL"
4242
range_key = "id"
4343
}
4444
global_secondary_index {
4545
hash_key = "sequence_number"
46-
name = "production-identity-vault-sequence_number"
46+
name = "${var.environment}-identity-vault-sequence_number"
4747
non_key_attributes = []
4848
projection_type = "ALL"
4949
}
5050
global_secondary_index {
5151
hash_key = "user_uuid"
52-
name = "production-identity-vault-user_uuid"
52+
name = "${var.environment}-identity-vault-user_uuid"
5353
non_key_attributes = []
5454
projection_type = "ALL"
5555
range_key = "id"

0 commit comments

Comments
 (0)