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

AWS_REGION vs AWS_DEFAULT_REGION #735

Closed
trevorrowe opened this issue Apr 2, 2014 · 5 comments
Closed

AWS_REGION vs AWS_DEFAULT_REGION #735

trevorrowe opened this issue Apr 2, 2014 · 5 comments
Assignees

Comments

@trevorrowe
Copy link
Member

The documentation examples all seem to point to AWS_DEFAULT_REGION as the preferred environment variable to export for configuring a region. The code appears to now support AWS_REGION. Do the examples need updating?

@trevorrowe
Copy link
Member Author

Nevermind, I was looking at the results of a code-search and didn't look at the context. It appears the CLI only looks for the ENV['AWS_DEFAULT_REGION'].

@flyinprogrammer
Copy link

I always Google this, and this always comes up, and this is the link I'm really looking for:

http://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html#cli-environment

@chuckoy
Copy link

chuckoy commented May 6, 2018

Do you mean this link?

https://docs.aws.amazon.com/cli/latest/userguide/cli-environment.html

@flyinprogrammer
Copy link

Thanks! They've updated their linking.

@jakub-bochenski
Copy link

Thanks! They've updated their linking.

Yeah, why would you keep URLs of widely used documentation stable :(

endgame added a commit to endgame/amazonka that referenced this issue Oct 13, 2021
According to aws/aws-cli#735 , AWS_REGION
isn't really honoured any more by other AWS tools. Continue honouring
it for backwards compatibility, but favour AWS_DEFAULT_REGION if set.
gasi added a commit to zoomhub/zoomhub that referenced this issue Mar 9, 2022
gasi added a commit to zoomhub/zoomhub that referenced this issue Mar 9, 2022
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

No branches or pull requests

5 participants