/dynamodb-copy-table

A simple python script to copy dynamodb table (useful for achieving renaming of table)

Primary LanguagePythonMIT LicenseMIT

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