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

Use the /.aws/config file for region #18

Open
wenjiaz opened this issue Jul 18, 2017 · 3 comments
Open

Use the /.aws/config file for region #18

wenjiaz opened this issue Jul 18, 2017 · 3 comments

Comments

@wenjiaz
Copy link

wenjiaz commented Jul 18, 2017

Since credentials can be obtained from the ~/.aws/credentials file, I was wondering if the default-region parameter can also be obtained from the AWS CLI config file ~/.aws/config?

@leeper
Copy link
Member

leeper commented Jul 18, 2017

This is not currently possible. Would it be useful?

@wenjiaz
Copy link
Author

wenjiaz commented Aug 5, 2017

Sorry for just getting back here! I think it'll be useful to incorporate it if it is possible because it is far easier to maintain region configuration across both AWS CLI and R scripts this way.

If it's not doable, I suggest at least making a note of it in the documentation. I had assumed the library would pull from the config file since the credentials were automatically pulled too, and stumbled upon region mismatch problems.

@halldc
Copy link

halldc commented Jun 6, 2019

@leeper I would also find this very useful

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants