{"id":13697645,"url":"https://github.com/techgaun/dynamodb-copy-table","last_synced_at":"2025-08-21T00:31:57.920Z","repository":{"id":53342891,"uuid":"42681734","full_name":"techgaun/dynamodb-copy-table","owner":"techgaun","description":"A simple python script to copy dynamodb table (useful for achieving renaming of table)","archived":false,"fork":false,"pushed_at":"2020-10-07T05:33:19.000Z","size":8,"stargazers_count":169,"open_issues_count":7,"forks_count":69,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-07T23:36:39.725Z","etag":null,"topics":["amazon-web-services","dynamodb","dynamodb-table","hacktoberfest","python-script"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/techgaun.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-09-17T21:01:30.000Z","updated_at":"2025-04-04T12:30:02.000Z","dependencies_parsed_at":"2022-09-03T04:21:07.732Z","dependency_job_id":null,"html_url":"https://github.com/techgaun/dynamodb-copy-table","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/techgaun/dynamodb-copy-table","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techgaun%2Fdynamodb-copy-table","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techgaun%2Fdynamodb-copy-table/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techgaun%2Fdynamodb-copy-table/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techgaun%2Fdynamodb-copy-table/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/techgaun","download_url":"https://codeload.github.com/techgaun/dynamodb-copy-table/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techgaun%2Fdynamodb-copy-table/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271409445,"owners_count":24754715,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-20T02:00:09.606Z","response_time":69,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["amazon-web-services","dynamodb","dynamodb-table","hacktoberfest","python-script"],"created_at":"2024-08-02T18:01:01.127Z","updated_at":"2025-08-21T00:31:57.914Z","avatar_url":"https://github.com/techgaun.png","language":"Python","readme":"# dynamodb-copy-table-python3\nA simple python 3 script to copy dynamodb table\n\n---\n\n### Requirements\n\n- Python 3.x\n- boto3 (`pip install boto3`)\n\n### Usage\n\nA simple usage example:\n\n```shell\n$ python dynamodb-copy-table.py src_table dst_table\n```\n\nThe following environment variables can be used:\nVariable | Purpose\n--- | ---\n`AWS_DEFAULT_REGION` | Select the region (the default region is `us-west-2`)\n`AWS_SRC_REGION` | Select the source table region (the default region is AWS_DEFAULT_REGION)\n`AWS_DST_REGION` | Select the destination table region (the default region is AWS_DEFAULT_REGION)\n`DISABLE_CREATION` | Disable the creation of a new table (Useful if the table already exists)\n`DISABLE_DATACOPY` | Disable the copying of data from source table to destination table\n\n```shell\n$ AWS_DEFAULT_REGION=us-east-1 DISABLE_CREATION=yes DISABLE_DATACOPY=yes \\\npython dynamodb-copy-table.py src_table dst_table\n```\n\n#### Docker Image\n\nThe docker image is available as [techgaun/dynamodb-copy-table:latest](https://hub.docker.com/r/techgaun/dynamodb-copy-table)\nin the official docker hub that you can pull from.\n\nUsage:\n\n```shell\n# pull image down\ndocker pull techgaun/dynamodb-copy-table:latest\n\n# invoke help\n$ docker run --rm -it techgaun/dynamodb-copy-table:latest\nUsage: dynamodb-copy-table.py \u003csource_table_name\u003e \u003cdestination_table_name\u003e\n\n# invoke copy\ndocker run -e AWS_ACCESS_KEY_ID=abc -e AWS_SECRET_ACCESS_KEY=def --rm -it techgaun/dynamodb-copy-table:latest src dest\n```\n\n### References\n\n- [Import and Export DynamoDB Data using AWS Data Pipeline](http://docs.aws.amazon.com/datapipeline/latest/DeveloperGuide/dp-importexport-ddb.html)\n","funding_links":[],"categories":["Uncategorized"],"sub_categories":["Uncategorized"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechgaun%2Fdynamodb-copy-table","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftechgaun%2Fdynamodb-copy-table","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechgaun%2Fdynamodb-copy-table/lists"}