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

Overwrite flag not being honored #82

Open
ksolie opened this issue Jul 13, 2018 · 1 comment
Open

Overwrite flag not being honored #82

ksolie opened this issue Jul 13, 2018 · 1 comment

Comments

@ksolie
Copy link

ksolie commented Jul 13, 2018

Wherever I put the -o or --overwrite flag in the command line for dyanmo-restore-from-s3 I keep seeing Fatal Error. Failed to create new table. ResourceInUseException: Table already exists: <my-table>

It looks like the flag is honored if I remove the --aws-region parameter because it defaults to the ap-southeast-1 region and ends up creating a new DynamoDB table.

I also noticed that it was doing this because it couldn't find the table in my region. I saw that it only found tables that started with an UpperCase Letter as the first character. Don't know if it's a bug in getting the tables or that I have 200+ tables in my region?

@cottonlisa
Copy link

Don't know if it's a bug in getting the tables or that I have 200+ tables in my region?

It's both of these combined. I've got the same issue. The request to get tables uses pagination and only returns 100 tables at a time, so the logic needs to be modified to pull back all the tables.

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