Skip to content

Commit e3fc82c

Browse files
committed
Change to key
1 parent 34017bd commit e3fc82c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

infrastructure/terraform/components/api/ddb_table_letter_queue.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ resource "aws_dynamodb_table" "letter_queue" {
1212

1313
local_secondary_index {
1414
name = "queueSortOrder-index"
15-
range_key = "queueTimestamp"
15+
range_key = "queueSortOrder-SK"
1616
projection_type = "ALL"
1717
}
1818

@@ -27,7 +27,7 @@ resource "aws_dynamodb_table" "letter_queue" {
2727
}
2828

2929
attribute {
30-
name = "queueTimestamp"
30+
name = "queueSortOrder-SK"
3131
type = "S"
3232
}
3333

0 commit comments

Comments
 (0)