dynamodb-clone
Clone your dynamo db to local
Table of Contents
Install
Using Homebrew
brew tap kishaningithub/tap
brew install dynamodb-clone
Binary Installation
# binary will be $GOPATH/bin/dynamodb-clone
curl -sfL https://raw.githubusercontent.com/kishaningithub/dynamodb-clone/master/install.sh | sh -s -- -b $GOPATH/bin
# or install it into ./bin/
curl -sfL https://raw.githubusercontent.com/kishaningithub/dynamodb-clone/master/install.sh | sh -s
# In alpine linux (as it does not come with curl by default)
wget -O - -q https://raw.githubusercontent.com/kishaningithub/dynamodb-clone/master/install.sh | sh -s
Example
$ AWS_REGION=eu-west-1 dynamodb-clone -t employee-details -e http://localhost:4569
To load the shared config, export AWS_SDK_LOAD_CONFIG="true"
before running the above command.
This is useful to load the shared credentials file from ~/.aws/credentials
.
Usage
dynamodb-clone -h
Usage:
main [OPTIONS]
Application Options:
-t, --table-name= Name of the dynamo db table
-e, --endpoint-url= Endpoint url of destination dynamodb instance
Help Options:
-h, --help Show this help message
Maintainers
Contribute
PRs accepted.
Small note: If editing the README, please conform to the standard-readme specification.
License
MIT © 2018 Kishan B