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
Comments
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']. |
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 |
Do you mean this link? https://docs.aws.amazon.com/cli/latest/userguide/cli-environment.html |
Thanks! They've updated their linking. |
aws-cli does not use AWS_REGION env var any more (aws/aws-cli#735)
Yeah, why would you keep URLs of widely used documentation stable :( |
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.
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?
The text was updated successfully, but these errors were encountered: