Skip to content

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

@djangofan

Description

@djangofan

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions