Created
May 23, 2019 09:02
-
-
Save sonjisov/1d809c4cf6fd11f994bc7d0ae8ae73ae to your computer and use it in GitHub Desktop.
Enabling TTL on an existing table
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
region=$1 | |
tableName="JohnWickQuotes" | |
aws dynamodb update-time-to-live --table-name $tableName --time-to-live-specification Enabled=true,AttributeName=ttl --region $region |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment