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 AWS Session unknown region bug #833

Merged
merged 1 commit into from
May 7, 2020

Conversation

hairyhenderson
Copy link
Owner

@hairyhenderson hairyhenderson commented May 7, 2020

Fixes #795

Turns out the issue was that the region is set to "unknown" (as a default from aws.EC2Region) and so the config object was initialized incorrectly, and the region from the config was being overridden.

I've tested this locally, and it works fine. Unfortunately this can't easily be unit tested due to how the AWS SDK works.

Signed-off-by: Dave Henderson [email protected]

@hairyhenderson hairyhenderson merged commit cdc8412 into master May 7, 2020
@hairyhenderson hairyhenderson deleted the aws-stop-overriding-empty-region-795 branch May 7, 2020 01:57
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.

Bug with aws+smp, region not being read from AWS Shared credentials file
1 participant