Skip to content
This repository has been archived by the owner on May 31, 2022. It is now read-only.

Doesn't work with AWS Federation enabled for CLI #19

Open
antontumasov-plutoflume opened this issue Oct 19, 2021 · 0 comments
Open

Doesn't work with AWS Federation enabled for CLI #19

antontumasov-plutoflume opened this issue Oct 19, 2021 · 0 comments

Comments

@antontumasov-plutoflume

Actual behaviour

I have the following in my credentials

...
[example]
role_arn          = arn:aws:iam::1234567890:role/example-role
source_profile    = example-profile
role_session_name = example
...

Running the tool spits out:

Cloud Resource Counter (v0.7.1) running with:
 o AWS Profile: example
 o AWS Region:  (All regions supported by this account)
 o Output file: resources.csv
 o Trace file:  example

Activity
 * Retrieving Account ID...Either the profile does not exist, is misspelled or credentials are not stored there.

I have exported AWS_PROFILE with the name which is successfully fetched by the tool but then it fails to work with assumed role.

Expected behaviour

The tool runs successfully with assumed role.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant