Created
December 20, 2019 11:45
-
-
Save d-baranowski/b18f5b537d96bfc66dd030279cdeefa0 to your computer and use it in GitHub Desktop.
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
aws dynamodb describe-table --table-name chess_lobby | jq '.Table' | jq 'del(.TableArn)' | jq 'del(.TableSizeBytes)' | jq 'del(.TableStatus)' | jq 'del(.TableId)' | jq 'del(.ItemCount)' | jq 'del(.CreationDateTime)' | jq 'del(.GlobalSecondaryIndexes[].IndexSizeBytes)' | jq 'del(.ProvisionedThroughput.NumberOfDecreasesToday)' | jq 'del(.GlobalSecondaryIndexes[].IndexStatus)' | jq 'del(.GlobalSecondaryIndexes[].IndexArn)' | jq 'del(.GlobalSecondaryIndexes[].ItemCount)' | jq 'del(.GlobalSecondaryIndexes[].ProvisionedThroughput.NumberOfDecreasesToday)' > chess_lobby.json | |
aws dynamodb create-table --cli-input-json file://chess_lobby.json --endpoint-url http://localhost:8000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment