Changing AWS Regions - AWS Toolkit for VS Code

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.

Add a Region to the AWS Explorer

Complete the following procedure to add a Region from the AWS Explorer.

  1. 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.

  2. From the Command Palette, search for AWS and choose AWS: Show Region in the Explorer to display a list of available Regions.

  3. From the list, choose the Region that you want to add to the AWS Explorer.

  4. The Region your chose now displays in the AWS Explorer.

Hide a Region from the AWS Explorer

To hide a Region from the AWS Explorer view, complete the following procedure.

  1. From the AWS Explorer, locate the AWS Region that you want to hide.

  2. Open the context menu for (right-click) the Region you want to hide.

  3. Choose Hide Region from the Explorer.

  4. The Region is no longer visible from the AWS Explorer, but can be added again by completing the procedure in the Add a Region to the AWS Explorer section of this topic.