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 for the example config file #1

Closed
kerma opened this issue May 14, 2020 · 1 comment
Closed

Fix for the example config file #1

kerma opened this issue May 14, 2020 · 1 comment

Comments

@kerma
Copy link

kerma commented May 14, 2020

Ended up here from hashicorp/terraform-provider-aws#10851 (comment)

Nice workaround 👍

However, there is a small problem in the example given in the README. The issue comes down to INI file implementations in different languages. The current example works with Python (aws cli), but not with Go AWS SDK. Their parser does not pick up the first profile parameter. SDK itself "eats" the error message, so tools depending on it (terraform, aws-iam-authenticator) fail without much help. Took some time to get to the bottom of this.

The following (no quotes) seems to work for both boto based things and aws-sdk-go:

[profile wrap_acme_dev]
credential_process = /Users/alice/bin/aws-sso-fetcher acme_dev
flyinprogrammer added a commit that referenced this issue May 15, 2020
@flyinprogrammer
Copy link
Owner

Thanks for reporting this, I hadn't run into it yet!

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

No branches or pull requests

2 participants