truongleswe / export-dynamodb

Export Amazon DynamoDb to CSV or JSON
GNU General Public License v3.0
52 stars 9 forks source link

Update to support profiles #9

Closed sarjann closed 5 years ago

sarjann commented 5 years ago

Will default to default profile in config.

Can also pass -p (profilename)

e.g. in config you may have [profile myprofile] region = eu-west-1 aws_access_key_id = aws_secret_access_key =

You can then do

export-dynamodb -t tablename -p myprofile

This should fix your problem.

truongleswe commented 5 years ago

Thanks @sarjann for your update. Just want to clarify it's not my problem. It's part of the cli design. This cli was design with the assumption using profile to retrieve credential and region.