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

Assumable Roles not showing up within AWS China Account #283

Closed Asgaros closed 1 year ago

Asgaros commented 1 year ago

No assumable roles show up when I am in the organization root account running within AWS China.

If I define the organization root account only within the configuration, then it shows up properly:

[org1]
aws_account_id = 000011112222

image

As soon as I add a sub-account and link it to the organization, nothing is shown anymore:

[org1]
aws_account_id = 000011112222

[org1account1]
role_arn = arn:aws-cn:iam::123456789012:role/OrganizationAccountAccessRole
source_profile = org1
region = cn-northwest-1

image

Environment

oilegor1029 commented 1 year ago

I have the same problem in Safari and Brave OS: MacOS 13.3.1 (a) Ventura

oilegor1029 commented 1 year ago

Fix: https://github.com/tilfinltd/aws-extend-switch-roles/issues/208#issuecomment-904134424

Asgaros commented 1 year ago

@oilegor1029

Good catch! I had to define the Account ID and the Account Alias. Since I am logging into the account with the Account Alias, it was not showing up without defining it in the configuration. It would be great, if it would work without the need to define the other.

Anyway, I will close this issue since it is not really related to the issue initially described.

Thanks!