tilfinltd / aws-extend-switch-roles

Extend your AWS IAM switching roles by Chrome extension, Firefox add-on, or Edge add-on
https://chromewebstore.google.com/detail/aws-extend-switch-roles/jpmkfafbacpgapdghgdpembnojdlgkdl?utm_source=github
MIT License
1.32k stars 141 forks source link

Blank list without erros #208

Open lucasarrudatrustly opened 3 years ago

lucasarrudatrustly commented 3 years ago

Hi! we created 3 new accounts to the aws and shared config files ( changed the accounts for each new account ) , the problem is the list is blank! we even copied the profile from a working account to the new account without sucess.

Just shows empty without any errors... tried firefox and chrome on MacOS and Windows Machine ( all latest version )

Any ideas?

Thanks!! Screen Shot 2021-08-03 at 12 14 10

tilfin commented 3 years ago

All I can say is that you should carefully review your configuration. Especially if you are setting up 'Complex Configuration', make sure the aws_account_id of a base account is correct.

hpettenuci commented 3 years ago

I'm with same situation here. I double checked my configuration here, and is the same that I use in my awscli config file that works perfect.

[profile login]
aws_account_id=<aws_account_id>
mfa_serial=arn:aws:iam::<aws_account_id>:mfa/<iam_user>

[profile dev]
source_profile=login
role_arn=arn:aws:iam::<aws_account_id>:role/<role>
color = 1b5e20

[profile qa]
source_profile=login
role_arn=arn:aws:iam::<aws_account_id>:role/<role>
color = 0433f0

[profile prod]
source_profile=login
role_arn=arn:aws:iam::<aws_account_id>:role/<role>
color = 1e88e5
ajardan commented 3 years ago

Same issue here, and it happened after firefox upgrade (which cleared the config btw). Firefox version 90.0.2 (64-bit)

ashemedai commented 3 years ago

FWIW: using this with both Firefox 90.0.2 and now 91.0 and it works as expected. Upgrade of Firefox did not clear my configuration at least.

mattwa33186 commented 3 years ago

I had the same problem when I copied my config that works in Safari to Firefox. Copied a config that works in Chrome to Firefox and it works now.

eabualjazer commented 3 years ago

I'm having the same issue in all my browsers!

eabualjazer commented 3 years ago

I fixed my issue! IF you login using an alias for the account id, you need to do the same in the configuration. I was using an account Id alias when I login to AWS Console and a number for the configuration!

mmarcoux-xpertsea commented 2 years ago

I simply unchecked the "Show only matching roles" to make them show and I'm able to switch roles that way....

mtb-xt commented 2 years ago

This issue still happens

tpotter-infiniti commented 2 years ago

This has happened to me a few times before. I don't recall how to fix. At this point it no longer loads ~/.aws/config . Plugin editor shows an empty file, no errors. Checked file/directory perms. All good. My config is generated from a script and is repeatable. I have not updated recently. Was working yesterday.

Backed up config file. Pasted content into plugin editor and saved. Relaunched browser. Same results. Not working. Upon relaunch, config I copy and pasted is in the editor. If I update the content ans save, .asw/config is not updated.

drod3763 commented 1 year ago

Same thing is happening to me with sync enabled. Created valid config in one browser, synced it to another. One works, one doesn't work.

sinanrassam commented 7 months ago

Not sure if this is directly related, but in Firefox Developer Edition, I can replicate the empty list, but if I close the extension and open it again the list loads. Its consistent doesn't matter if its a new or old browser session, and always works on the second try