amplify-cli icon indicating copy to clipboard operation
amplify-cli copied to clipboard

amplify push graphql schema created in wrong region

Open myfairshare opened this issue 6 years ago • 2 comments

Note: If your issue/bug is regarding the AWS Amplify Console service, please log it in the Amplify Console GitHub Issue Tracker

Describe the bug

When trying to run 'amplify push' the command line gives me errors saying gql schema file created in 'us-east-1', I am in 'eu-west-1' and have my app configured for 'eu-west-1' so this has me confused. The following resource(s) failed to create: [GraphQLSchema].

CREATE_FAILED GraphQLSchema AWS::AppSync::GraphQLSchema Wed Apr 22 2020 16 :35:40 GMT+0100 (Irish Standard Time) The bucket is in this region: us-east-1. Please use this region to retry the reque st (Service: Amazon S3; Status Code: 301; Error Code: PermanentRedirect; Request ID: 810897D4BBA3CC2B; S3 Extended Reque st ID:

Amplify CLI Version 4.18.0

To Reproduce I have created and configured an amplify app I added gql api I mocked the api for testing, all working fine I add auth with default settings - amplify add auth I run 'amplify push'

Expected behavior Amplify creates resources in the cloud

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • Windows 7
  • Node 12.3.1

Additional context I am following along with a Berlin workshop from Nader Dabit on youtube

myfairshare avatar Apr 23 '20 08:04 myfairshare

My fault, cleared out some old env variables and restarted, problem solved.

myfairshare avatar Apr 23 '20 09:04 myfairshare

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.

github-actions[bot] avatar May 26 '21 10:05 github-actions[bot]