Skip to content
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

Inaccurate Region Display when Switching Roles within Same Account #296

Open
srk1195 opened this issue Jul 6, 2023 · 2 comments
Open

Inaccurate Region Display when Switching Roles within Same Account #296

srk1195 opened this issue Jul 6, 2023 · 2 comments

Comments

@srk1195
Copy link

srk1195 commented Jul 6, 2023

Describe the bug
When attempting to switch roles from the same AWS account but different regions using the AWS Extend Switch Roles extension, the switch appears to be successful but does not reflect the changes accurately.

To Reproduce
Steps to reproduce the behavior:

  1. Open the AWS Extend Switch Roles extension.
  2. Configure the extension for the desired AWS account and regions.
  3. Attempt to switch roles from the same account but in different regions.
  4. Notice that the switch seems to be complete, but the displayed region does not update accordingly.

Expected behavior
I expected the extension to successfully switch roles within the same AWS account, regardless of the region. The selected region should be accurately reflected after the switch.

Screenshots

  1. Profile is not matching to what it should be
    image

  2. Regions in the URL and the actual one are different
    image

Environment

  • OS: Windows 11
  • Browser: Microsoft Edge
  • Version: 114.0.1823.67 (Official Build) (64-bit)

Additional context
Add any other context about the problem here.

@tilfin
Copy link
Member

tilfin commented Jul 7, 2023

This phenomenon seems to occur only on certain service pages. For example, the ECS page. The behavior of those pages when switching seems to be different from other pages.

@hobti01
Copy link

hobti01 commented Mar 13, 2024

There are many regional endpoints for the AWS console, but the region you are viewing should (and does in your example) match the URL parameter. IIRC there was a change within the last year or so regarding the regional endpoints, but here's the current list: https://docs.aws.amazon.com/general/latest/gr/mgmt-console.html

As @tilfin mentions, some service pages, e.g. Route53, have specific regions for the console regardless of the region you are viewing: https://us-east-1.console.aws.amazon.com/route53/v2/home?region=eu-central-1#Dashboard

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

No branches or pull requests

3 participants