-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Region not detected from credentials file #1073
Comments
Thank you for the feature request. We're looking at the best way to support some of these CLI configuration values going forward. In the meantime, one option is to use the |
Actually, it looks like the Ruby SDK doesn't support the modern CLI config file format at all ($HOME/.aws/config, as opposed to the legacy $HOME/.aws/credentials file). See #1045 |
This is correct, that's currently CLI-specific. Given that there is a large ask for this, we are looking for the best way to support some of these features, without introducing unexpected behavior into the SDK. |
Addressed by #1178 |
Please add this to the docs. Spent way too much time debugging what turned out to be a region mismatch. |
#1178 has been merged, this will be supported with the next release, which will be version |
The AWS CLI can obtain its working region from a credentials file, e.g.:
The Ruby code should behave similarly if
AWS_PROFILE
is set, without also requiringAWS_DEFAULT_REGION
orAWS_REGION
to be set.The text was updated successfully, but these errors were encountered: