If you want to change the default region that you have set in the aws config file you can make use of the aws configure set region AWS CLI command.
Let's take a look at an example.
aws configure set region us-east-2
Now to check what region you have set, you can make use of the command - aws configure get region
% aws configure get region
us-east-2
Facing issues? Have Questions? Post them here! I am happy to answer!
More Posts related to AWS,
- Get the total size and number of objects of a AWS S3 bucket and folders
- How to Create AWS SNS Topic using AWS CLI
- Fix: Amazon Linux bash: sudo: command not found
- [Solution] AWS Java SDK S3 AmazonS3Exception InvalidAccessKeyId
- Create an AWS User using CLI2 Command at a specific Path
- Fix: Missing the following required SSO configuration values: sso_start_url, sso_region
- Fix: zsh: command not found: aws (Mac/macOS)
- Configure AWS Access ID and Secret Keys using CLI on Mac
- Quick way to setup AWS DynamoDB locally on macOS
- Most Essencial AWS CLI 2 S3 ls Command Options
- How to Check AWS SNS Permissions using CLI
- AWS CLI Change Default Output Format
- How to install AWS CLI on Ubuntu
- Quick way to install AWS CLI for macOS Terminal
- Install AWS CLI using Brew Command
- AWS CLI Command to Get a List of SNS Topics
- Get List of AWS SNS Topic Subscriptions using CLI
- How to Setup AWS Credentials using Visual Studio Code
- Installing AWS CLI Version 2 on macOS Sonoma using Terminal
- AW3 CLI command to get list of all region names
- AWS SNS CLI Command Publish Message Attributes
- Create an S3 bucket in a specific AWS region using CLI Command
- [Fix] zsh: command not found: awscli [Mac Terminal]
- Understanding AWS Calculator: DynamoDB on-demand capacity
- [Solution] com.amazonaws.dynamodb.v20120810 MissingAuthenticationToken Key Id or X.509 certificate
More Posts:
- How to submit website to dmoz directory - HowTos
- Restore deleted Office 365 SharePoint group site - SharePoint
- Manually Throw an Exception in Python (raise:) - Python
- How to reset an Apple Watch without an iPhone - Apple
- How to Restart Mac using Terminal Command - MacOS
- How to query database table names [MySQL/Oracle/SQL Server] - MySQL
- Fix: POSSIBLE DATA LOSS: Some features might be lost if you save this workbook in the comma-delimited (csv) format. To preserve these features - save it in an Excel file format - Windows
- How to Sort CSV File Data in Notepad++ based on a Column - NotepadPlusPlus