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

Provide Feedback For This Article
We take your feedback seriously and use it to improve our content. Thank you for helping us serve you better!
😊 Thanks for your time, your feedback has been registered!
Comments & Discussion
Facing issues? Have questions? Post them here! We're happy to help!