I was wondering if its possible to create a dynamodb table from the table definition json itself? I've looked into the aws cli tool and I couldnt find any way of doing this. Just wondering if it's possible.
aws dynamodb create-table file://tabledenifision.json
Thanks!
I found your unanswered question today, and kept looking until I found an answer. Probably too late for you but may help others.
aws dynamodb create-table --cli-input-json file://tabledefinition.json
This command expects a json object in the file in the format outlined by the following command:
aws dynamodb create-table --generate-cli-skeleton
This approach seems to work with many aws commands.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With