Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

builtin/aws: use SharedConfig to load ~/.aws/config #621

Merged
merged 1 commit into from
Oct 19, 2020

Conversation

mitchellh
Copy link
Contributor

@mitchellh mitchellh commented Oct 19, 2020

Fixes #604

This enables loading ~/.aws/config for assumed role auth.

We should talk to the Terraform team about making aws-sdk-go-base less
Terraform-specific so we can share it, since they've solved a lot more
problems that we're going to run into: https://github.com/hashicorp/aws-sdk-go-base

But for now, this will work.

Fixes #604

This enables loading ~/.aws/config for assumed role auth.

We should talk to the Terraform about making aws-sdk-go-base less
Terraform-specific so we can share it, since they've solved a lot more
problems that we're going to run into: https://github.com/hashicorp/aws-sdk-go-base

But for now, this will work.
@mitchellh mitchellh requested a review from evanphx October 19, 2020 05:03
@mitchellh mitchellh merged commit ace1375 into main Oct 19, 2020
@mitchellh mitchellh deleted the f-aws-sharedconfig branch October 19, 2020 17:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Using AWS profile with assumed role raises NoCredentialProviders
1 participant