Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tried using your script but it hangs on a dynamodb-local #5

Open
djangofan opened this issue Jan 5, 2018 · 1 comment
Open

Tried using your script but it hangs on a dynamodb-local #5

djangofan opened this issue Jan 5, 2018 · 1 comment

Comments

@djangofan
Copy link

djangofan commented Jan 5, 2018

Tried using your script but it hangs on a dynamodb-local . Here is the modified script I was trying to use.
https://github.com/djangofan/dynamodb-copy-table

Here is how you can setup the local dynamodb:

  1. docker run -p 8000:8000 --name dynamodb-local --restart unless-stopped -d dwmkerr/dynamodb -sharedDb
  2. aws dynamodb create-table --table-name Music --attribute-definitions AttributeName=Artist,AttributeType=S AttributeName=SongTitle,AttributeType=S --key-schema AttributeName=Artist,KeyType=HASH AttributeName=SongTitle,KeyType=RANGE --provisioned-throughput ReadCapacityUnits=1,WriteCapacityUnits=1
  3. aws dynamodb list-tables --endpoint-url http://192.168.99.100:8000
  4. then , try to copy it with this command:
    python dynamodb-copy-table.py Music copyof-Music true
@techgaun
Copy link
Owner

techgaun commented Oct 4, 2018

Thanks @djangofan would you be willing to make a PR for your stuff?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants