A simple python script to copy dynamodb table (useful for achieving renaming of table)
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
LICENSE
README.md
dynamodb-copy-table.py

README.md

dynamodb-copy-table

A simple python script to copy dynamodb table


Requirements

  • Python 2.x
  • boto (pip install boto)

Usage

A simple usage example:

$ python dynamodb-copy-table.py src_table dst_table

You can use the environment variables AWS_DEFAULT_REGION and DISABLE_DATACOPY to select the region (the default region is us-west-2) and disable the copying of data from source table to destination table.

$ AWS_DEFAULT_REGION=us-east-1 DISABLE_DATACOPY=yes python dynamodb-copy-table.py src_table dst_table

References