fugue / credstash

A little utility for managing credentials in the cloud
Apache License 2.0
2.06k stars 214 forks source link

credstash setup doesn't respect region #15

Closed sid137 closed 9 years ago

sid137 commented 9 years ago

Hi,

When trying to create the dynamodb table in eu-west-1 (credstash -r eu-west-1 setup), I see that it still gets created in N. Virginia.

It would be nice if it could use the AWS_DEFAULT_REGION env var by default

a5an0 commented 9 years ago

thanks for reporting this. A fix for the setup function and checking for the env var are both in #16.

a5an0 commented 9 years ago

fixed. you can now either use the -r flag or $AWS_DEFAULT_REGION.