-
Notifications
You must be signed in to change notification settings - Fork 43
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
Add support for cross account roles #4
Conversation
Thanks for the PR @atward!
Have you tried configuring a profile as detailed on this page https://docs.aws.amazon.com/cli/latest/topic/config-vars.html?
I'm mostly just interested as I have ran into the same problem with instance profiles and assumed roles myself in the past and I'd never seen this option before. It looks to me like aws-sdk-go should support it as of this PR: aws/aws-sdk-go#2201. I don't have quick access to an AWS environment where I can test this, so I can't check it myself right now. Even if it does work, I do understand that setting up an |
I was not aware of pr/2201 I was going off issues/1019 which was still open. Config works as per the linked python documentation given |
I spoke too soon. When I compile s3_exporter it works as described. Using the pre-compiled 0.1.0 binary results in AccessDenied. I'm unsure what's causing the problem but could we get an updated release? |
Logs
When using precompiled binaries v0.1.0
|
Hi @atward. I've released 0.2.0 - can you please check if it works for you. |
Closed by v0.2.0 release
|
This adds the ability to query buckets outside the current account. This is needed as aws-go-sdk has no credentials config support for assuming roles when using instance profiles.