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

🐛 Fix #46 by reusing existing region #91

Merged
merged 1 commit into from
Mar 5, 2018

Conversation

AlainODea
Copy link
Contributor

Problem Statement

The profile management introduced in #81 (merged to master) overwrites the region in ~/.aws/config.

Solution

If profile in ~/.aws/config has region set, leave it as is.

 - If profile in ~/.aws/config has region set, leave it as is
Copy link
Contributor

@smashling smashling left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This works as expected, and doesn't introduce any new bugs.

@mraible mraible merged commit 6b9f039 into oktadev:master Mar 5, 2018
@AlainODea AlainODea deleted the ao-fix-region-overwriting branch March 6, 2018 01:30
AlainODea added a commit to AlainODea/okta-aws-cli-assume-role that referenced this pull request Jun 3, 2018
- If profile in ~/.aws/config has region set, leave it as is
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

Successfully merging this pull request may close these issues.

3 participants