Amplify-cli: add-graphql-datasource not supporting the ap-southeast-2 region

Created on 3 Jul 2020  ยท  14Comments  ยท  Source: aws-amplify/amplify-cli

Describe the bug
when run amplify api add-graphql-datasource
currently it shows only 5 regions

  us-east-2
  us-west-2
  ap-northeast-1
  eu-west-1

Amplify CLI Version
4.22.0

To Reproduce

  1. Initialize a new Amplify project - amplify init in ap-southeast-2 region
  2. Add api - amplify add api
  3. Create Aurora serverless RDS as per Documentation in ap-southeast-2 region and enabled Data API option
  4. add aurora datasource - amplify api add-graphql-datasource
    Asia Pacific (Sydney)ap-southeast-2 region is not in the option
Using datasource: Aurora Serverless, provided by: awscloudformation
? Provide the region in which your cluster is located:
โฏ us-east-1
  us-east-2
  us-west-2
  ap-northeast-1
  eu-west-1

Expected behavior
Asia Pacific (Sydney)ap-southeast-2 region also supports the Aurora serverless with Data API reference then it should be listed in the options.
Eg:

Using datasource: Aurora Serverless, provided by: awscloudformation
? Provide the region in which your cluster is located:
โฏ us-east-1
us-east-2
us-west-1
us-west-2
ap-south-1
ap-southeast-1
ap-southeast-2
ap-northeast-1
eu-central-1
eu-west-1
eu-west-2
eu-west-3

Screenshots
terminal-screenshot

Desktop (please complete the following information):

  • OS: Mac
  • Node Version: v12.16.0
enhancement

Most helpful comment

@rajcrystaldelta sorry missed this issue before! Let me verify that there aren't any downstream implications. Will try to get back with next steps by Friday!

All 14 comments

Only those regions support RDS HTTP endpoint.

hello @berenddeboer,
As per document Data API for Aurora document, RDS HTTP endpoint in available in ap-southeast-2 region.

Also, I tested in AWS console in ap-southeast-2 region, I can enable Data API ( HTTP endpoint ).
Refer the following console screenshot,
Screenshot 2020-07-05 at 4 30 39 PM

Please also add support for ap-southeast-1 region. Thanks!

When this issue will be fixed?

image
We need eu-central-1

Thanks a lot !

Please note, very interested in this item being resolved also

@renebrandel - As we need this urgent, can you review the PR and take action, please.

@rajcrystaldelta sorry missed this issue before! Let me verify that there aren't any downstream implications. Will try to get back with next steps by Friday!

@renebrandel Yep with Brexit, and GDPR regulations we desperately need this functionality.

@tomaseti - we looked at the PR and the rebasing is gonna get a bit messy. (sorry about our slow response on that!) We're looking to create a PR ourselves to address this. I'll keep this thread up to date.

The API deployment would fail as the necessary changes needed in the AppSync service is missing. The AppSync service is actively working to support these additional regions and we will pick this up once the service starts supporting them

@yuth Do you have any eta, when this will done? We're waiting to use this functionality in the London region.

I don't have an ETA, but the AppSync service team is actively working on this

The fix was released in @aws-amplify/[email protected]

Great news thank you

Was this page helpful?
0 / 5 - 0 ratings

Related issues

darrentarrant picture darrentarrant  ยท  3Comments

jexh picture jexh  ยท  3Comments

nicksmithr picture nicksmithr  ยท  3Comments

YikSanChan picture YikSanChan  ยท  3Comments

adriatikgashi picture adriatikgashi  ยท  3Comments