-
Notifications
You must be signed in to change notification settings - Fork 681
Open
Labels
bugWe can reproduce the issue and confirmed it is a bug.We can reproduce the issue and confirmed it is a bug.
Description
Problem
When using multiple profiles in a .aws/config file, the explorer lets us dynamically switch from one profile to another.

The issue is that if the S3
section was open with one profile in the explorer, it does not get refreshed when switching to a different profile. In order to refresh and see the buckets for the newly selected profile, one must restart vscode or at least restart the extensions server, which is less than ideal.
Note
The refresh used to work just fine some months ago, so something got changed recently which broke this behavior.
Steps to reproduce the issue
- Setup multiple profiles in a
~/.aws/config
file - Select one profile in the explorer
- Open the S3 section in the explorer, see the buckets associated with that profile
- Select another profile
- See that the S3 section does not get refreshed, and the buckets associated with the new profile are not accessible
System details
- OS: MacOS
- Visual Studio Code version: 1.99.3
- AWS Toolkit version: 3.70.0

Metadata
Metadata
Assignees
Labels
bugWe can reproduce the issue and confirmed it is a bug.We can reproduce the issue and confirmed it is a bug.