Currently if I run
aws dynamodb create-table --generate-cli-skeleton, it will generate a template for me to fill in column definitions etc to create a new dynamodb table.
I want to be able to dump the table layout from another dynamodb table and use it as a json input to the
However when I use
aws dynamodb describe-table to generate a json, it is structurally different from the cli skeleton file.
What is the easier way to create such a json file based on an existing table?