Changing AWS Regions
An AWS Region specifies where your AWS resources are managed. Your default AWS Region is detected when you connect to your AWS account from the AWS Toolkit for Visual Studio Code, automatically displaying in the AWS Explorer.
The following sections describe how to add or hide a Region from the AWS Explorer.
Adding a Region to the AWS Explorer
Complete the following procedure to add a Region to the AWS Explorer.
-
From VS Code, open the Command Palette by expanding View on the main menu and choosing Command Palette. Or use the following shortcut keys:
-
Windows and Linux – Press
Ctrl+Shift+P
. -
macOS – Press
Shift+Command+P
.
-
-
From the Command Palette, search for
AWS: Show or Hide Regions
and choose AWS: Show or Hide Regions to display a list of available Regions. -
From the list, select the AWS Regions that you want to add to the AWS Explorer.
-
Choose the OK button to confirm your choices and update the AWS Explorer.
Hide a Region from the AWS Explorer
To hide a Region from the AWS Explorer view, complete the following procedure.
-
From the AWS Explorer, locate the AWS Region that you want to hide.
-
Open the context menu for (right-click) the Region you want to hide.
-
Choose Show or Hide Regions to open the AWS: Show or Hide Regions options in VS Code.
-
Deselect the Regions that you want to hide in the AWS Explorer view.