dynamodb-clone

command module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 24, 2018 License: MIT Imports: 8 Imported by: 0

README

dynamodb-clone

Build Status standard-readme compliant Go Report Card Downloads Latest release

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

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL