3 Answers
- Newest
- Most votes
- Most comments
1
You cannot update/change the schema of a DynamoDB table. It will always result in creating a new table.
For indexes, simply add a new index with the keys you desire. Once deployed, drop the old index.
-1
You can check here for DynamoDB table behavior for changing its properties: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-table.html
KeySchema updates has no interruptions.
Since you have an existing template, you can always test its behavior in another environment.
answered 2 years ago
Relevant content
asked 5 years ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 4 years ago
