I am following this tutorial: https://aws.amazon.com/getting-started/hands-on/build-react-app-amplify-graphql/?ref=gsrchandson&id=updated
When I get to the part where I am supposed to run the sandbox using this commnad , ampx sandbox --profile default
I get an error :
TypeError: Invalid URL
Failed to construct URL with https://sts.[us-east-1].amazonaws.com TypeError: Invalid URL
my aws config looks like this:
[default]
sso_session = amplify-admin
sso_account_id = my-id
sso_role_name = AdministratorAccess
region = [us-east-1]
[sso-session amplify-admin]
sso_start_url = https://{some-guid}.awsapps.com/start
sso_region = us-east-1
sso_registration_scopes = sso:account:access
[profile amplify-policy-my-id]
sso_session = amplify-admin
sso_account_id = my-id
sso_role_name = amplify-policy
region = [us-east-1]
What am I missing?
The problem are the brackets around the region in the AWS config file:
It should be us-east-1
instead of [us-east-1]