dynamodb-copy-table-data

1.0.2 • Public • Published

dynamodb-copy-table-data

script copies data from dynamoDb table of old region to new region where s3 pipeline services are not available yet.

const dynamodbCopyTableData = require('dynamodb-copy-table-data);

let myTables = ["users", "admin"];

let credentials = {"accessKeyId": "YOUR_accessKeyId", "secretAccessKey": "YOUR_secretAccessKey"};

let oldRegion = "us-east-1";

let newregion = "ap-southeast-1";

yield dynamodbCopyTableData.copyData(myTables, credentials, oldRegion, newregion);

Your tables would be copied. Thanks!

Package Sidebar

Install

npm i dynamodb-copy-table-data

Weekly Downloads

3

Version

1.0.2

License

ISC

Last publish

Collaborators

  • erroratline37