File tree Expand file tree Collapse file tree
infrastructure/terraform/components/api Expand file tree Collapse file tree Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments