aws / aws/aws-toolkit-vscode

S3 Does Not Switch Accounts

Open
#7,401 2 comments 5 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
2k
Forks
807
Avg merge
10h 12m
Merged PRs (30d)
7

Description

## Problem

When I switch accounts, although when I switch accounts and other things, e.g. Cloudwatch Logs and Lambda, change to that account and region's items, S3 is no longer changing for me, for some odd reason

## Steps to reproduce the issue

1. Connect to an AWS account, and view S3 buckets for a region; assuming there are buckets.
2. Connect to a different account and connect
3. Look at the buckets for the same reason - we will see the same buckets we saw before

## Expected behavior

The buckets for the particular account

## System details (run `AWS: About` and/or `Amazon Q: About`)

OS: Windows_NT x64 10.0.22631
Visual Studio Code extension host: 1.99.1
AWS Toolkit: 3.63.0
node: 20.18.3
electron: 34.3.2

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the account switch with S3 buckets as described, then trace the S3 view's account and region state in the AWS Toolkit for VS Code extension. Compare it with the CloudWatch Logs and Lambda views that update correctly. Done means switching accounts shows the buckets belonging to the newly selected account and region.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, typescript
Domain
cloud
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.