mousavian / dr-dynamo

DynamoDB Disaster Recovery - A tool to backup DynamoDB tables to S3 and restore
MIT License
4 stars 3 forks source link

New version has breaking change in Dynamo/S3 SDK class initialization. #2

Open AaronAmstutz opened 7 years ago

AaronAmstutz commented 7 years ago

This commit: https://github.com/mousavian/dr-dynamo/commit/8a20655d53cddf6811284dbc74a1f1de2f02ce4c

When the config is updated, per line 27: AWS.config.update(this.awsConfig) it results in the following error: UnrecognizedClientException: The security token included in the request is invalid.

Commenting this line out results in the code working correctly.

I can PR this, or maybe this can be changed?

Cheers!

mousavian commented 7 years ago

Thanks @AaronAmstutz , I can't reproduce this, could you please either provide more details or raise a PR to fix?

Also, I've noticed you have changed some part in restore while I totally refactored it 😞 since it wasn't good enough to helping me solving my needs.

at least i can be hopeful my changes are covering your problems as well. : )