Skip to content

Commit

Permalink
fix: swap partition key and sort key
Browse files Browse the repository at this point in the history
  • Loading branch information
miztch committed Jun 13, 2024
1 parent fd010d6 commit 02afb4c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -117,16 +117,16 @@ Resources:
Properties:
TableName: !Sub ${ApplicationName}-vlr-matches
AttributeDefinitions:
- AttributeName: id
AttributeType: N
- AttributeName: startDate
AttributeType: S
- AttributeName: id
AttributeType: N
BillingMode: PROVISIONED
DeletionProtectionEnabled: True
KeySchema:
- AttributeName: id
KeyType: HASH
- AttributeName: startDate
KeyType: HASH
- AttributeName: id
KeyType: RANGE
ProvisionedThroughput:
ReadCapacityUnits: 1
Expand Down

0 comments on commit 02afb4c

Please sign in to comment.