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

Set region by AWS_DEFAULT_REGION correctly #36

Closed
wants to merge 1 commit into from

Conversation

hirose31
Copy link

Set self.region by getting env var.

or self.session.get_envvar('region') with botocore of HEAD in develop branch.

@wamatt
Copy link

wamatt commented Jan 21, 2013

+1

AWS_DEFAULT_REGION does not work for me.

Matt@Matt-Tagg-MacBook-Pro:~% echo $AWS_DEFAULT_REGION
us-west-1
Matt@Matt-Tagg-MacBook-Pro:~% aws ec2 describe-instances
You must specify a region using the --region option or in your config file.

@garnaat
Copy link
Contributor

garnaat commented Jan 21, 2013

Hi -

I have fixed this by incorporating this all into the botocore module. I am planning a new bugfix release this week that will include this fix among others. Thanks!

@wamatt
Copy link

wamatt commented Jan 23, 2013

Cool. BTW Love this tool 👍

@garnaat
Copy link
Contributor

garnaat commented Jan 23, 2013

That's great to hear. I'm really interested in feedback. The approach is quite different than previous CLI tools. I expect there will be strong opinions on both sides 8^)

@skyzyx
Copy link
Contributor

skyzyx commented Jan 23, 2013

👍

@garnaat
Copy link
Contributor

garnaat commented Jan 26, 2013

This should now be fixed in the 0.5.0 release.

@garnaat garnaat closed this Jan 26, 2013
kdaily pushed a commit to kdaily/aws-cli that referenced this pull request Apr 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants