You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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:
The text was updated successfully, but these errors were encountered: