Skip to content

Commit 660b785

Browse files
lower case key names
1 parent 20a37e0 commit 660b785

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

infrastructure/terraform/components/api/ddb_table_supplier_configuration.tf

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,21 @@ resource "aws_dynamodb_table" "supplier-configuration" {
22
name = "${local.csi}-supplier-config"
33
billing_mode = "PAY_PER_REQUEST"
44

5-
hash_key = "PK"
6-
range_key = "SK"
5+
hash_key = "pk"
6+
range_key = "sk"
77

88
ttl {
99
attribute_name = "ttl"
1010
enabled = true
1111
}
1212

1313
attribute {
14-
name = "PK"
14+
name = "pk"
1515
type = "S"
1616
}
1717

1818
attribute {
19-
name = "SK"
19+
name = "sk"
2020
type = "S"
2121
}
2222

@@ -34,13 +34,13 @@ resource "aws_dynamodb_table" "supplier-configuration" {
3434
global_secondary_index {
3535
name = "EntityTypeIndex"
3636
hash_key = "entityType"
37-
range_key = "SK"
37+
range_key = "sk"
3838
projection_type = "ALL"
3939
}
4040

4141
global_secondary_index {
4242
name = "volumeGroup-index"
43-
hash_key = "PK"
43+
hash_key = "pk"
4444
range_key = "volumeGroup"
4545
projection_type = "ALL"
4646
}

0 commit comments

Comments
 (0)