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

Would be nice to be able to set default region with environment variable #3

Closed
garnaat opened this issue Dec 22, 2012 · 5 comments
Closed
Assignees
Labels
feature-request A feature should be added or improved.
Milestone

Comments

@garnaat
Copy link
Contributor

garnaat commented Dec 22, 2012

You can set credentials via environment variables, would also be nice to set region.

@ghost ghost assigned garnaat Dec 22, 2012
@michaelhood
Copy link

+1 - was going to do a pull request for this but wasn't sure what variable name would be preferred. I've seen some third party projects use AWS_EC2_REGION, but I realize you may want a non-service specific nomenclature.

flippath/ec2-cli-tools - AWS_EC2_REGION

netflix/asgard - EC2_REGION

@lsegal
Copy link

lsegal commented Dec 23, 2012

IMO the region setting should not be service specific. I could see how this might be useful in the above mentioned projects, but It makes less sense in a CLI tool where you're only targeting one service per execution.

I would go with a simple AWS_REGION

@michaelhood
Copy link

agreed

@garnaat
Copy link
Contributor Author

garnaat commented Jan 3, 2013

This feature is now available in the 0.4.5 release and in the develop branch. The name of the variable is AWS_DEFAULT_REGION

@jackoff482940
Copy link

1#

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request A feature should be added or improved.
Projects
None yet
Development

No branches or pull requests

6 participants