How do you change the default region for amplify cli?
** Which Category is your question related to? ** configuration
** What AWS Services are you utilizing? ** Amplify
** Provide additional details e.g. code snippets ** I am not sure how my default amplify region was set to eu-west-2 but that's not the region I want. Now whenever I create a new resources, it's always in eu-west-2 but I'm in the US.
I tried doing amplify configure but that seems to just add a new profile to my .aws credentials. I also tried doing amplify storage add --profile profilename but that doesn't change anything.
Any ideas of how to change the amplify default region or do I need to uninstall/reinstall the cli? I don't even recall ever selecting eu-west-2 but could very well have been a misconfiguration on my part.
I had this same issue, where it chose eu-west-2 and failed every time because that region doesn't have appsync.
I was able to change the region that amplify was using by changing it through 'aws configure' in the terminal.
@ajohnsen ahh, I tried amplify configure which seems to create a new aws profile. I'll look at aws configure and see if somehow I have my default region incorrect.
Thanks for the info!
You could run amplify configure project and use a new profile with the desired region
This issue has been automatically locked since there hasn't been any recent activity after it was closed. Please open a new issue for related bugs.
Looking for a help forum? We recommend joining the Amplify Community Discord server *-help channels for those types of questions.