We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eaebcc6 commit b20e2e1Copy full SHA for b20e2e1
1 file changed
infrastructure/terraform/components/api/ddb_table_letter_queue.tf
@@ -3,7 +3,7 @@ resource "aws_dynamodb_table" "letter-queue" {
3
billing_mode = "PAY_PER_REQUEST"
4
5
hash_key = "supplierId"
6
- range_key = "letterId"
+ range_key = "queueTimestamp"
7
8
ttl {
9
attribute_name = "ttl"
@@ -12,7 +12,7 @@ resource "aws_dynamodb_table" "letter-queue" {
12
13
local_secondary_index {
14
name = "timestamp-index"
15
- range_key = "queueTimestamp"
+ range_key = "letterId"
16
projection_type = "ALL"
17
}
18
0 commit comments