awslabs / dynamodb-continuous-backup

Continuous backup automation for Amazon DynamoDB
Apache License 2.0
185 stars 32 forks source link

Support for CLI Profiles on Deploy.py #40

Closed jamesrenaud closed 6 years ago

jamesrenaud commented 6 years ago

We currently leverage a multi-account structure, and I'd like to deploy this to an account in which I need to use a CLI profile to access via command line. As far as I can tell there's currently no support as part of the deploy.py to specify a CLI profile to utilize.

IanMeyers commented 6 years ago

Hello - if you export AWS_PROFILE=<profile name>, does that work for you? This environment variable should override anything else but still apply arguments as supplied to the utility.

jamesrenaud commented 6 years ago

Yep that did it! Thanks @IanMeyers