Skip to content

Instantly share code, notes, and snippets.

@sonjisov
Created May 23, 2019 09:02
Show Gist options
  • Save sonjisov/1d809c4cf6fd11f994bc7d0ae8ae73ae to your computer and use it in GitHub Desktop.
Save sonjisov/1d809c4cf6fd11f994bc7d0ae8ae73ae to your computer and use it in GitHub Desktop.
Enabling TTL on an existing table
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