-
-
Notifications
You must be signed in to change notification settings - Fork 52
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
Read default region from ~/.aws/config
#436
Comments
Question that comes to mind:
If the above worked, there would be no longer need to have |
Couple of reasons why we might not want to do this. 1) It is a breaking change, would need a new major version 2) Currently accessing a different region is a simple process which just involves creating a new version of the service ( which is a cheap operation ). Creating a new |
Makes sense, thanks for clarifying. |
Steps
AWSClient
.AWS_DEFAULT_REGION
or value in~/.aws/config
. Will need to take into accountAWS_PROFILE
environment variable. Might need to do something to sync withConfigFileCredentialProvider
AWSClient
.AWSClient
we cannot just copy default region to service. One way to avoid this is add new regionuseDefault
which will useAWSClient
default when a request occurs.The text was updated successfully, but these errors were encountered: