Describe the bug
Amplify CLI is unable to see any RDS Aurora Serverless Clusters when using the
add-graphql-datasource plugin. Yes, the cluster is in us-east-1 and Data API enabled.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A list of RDS Aurora Serverless clusters to choose from
Screenshots
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
Here's the issue and reason why the RDS clusters are not showing up.
Issue: add-graphql-datasource is not showing the list of RDS Serverless Clusters when a user initializes an Amplify project (amplify init) using a non-default profile
Reason: The add-graphql-datasource plugin is using the default aws profile when looking for any RDS clusters instead of using the credentials from the specified profile during thie 'amplify init'.
Just as a dumb workaround until this is fixed, if you set whatever profile you're trying to use as the default one and have it source from the original default renamed as "real_default" or "OG_default", that'll work.
Most helpful comment
Just as a dumb workaround until this is fixed, if you set whatever profile you're trying to use as the default one and have it source from the original default renamed as "real_default" or "OG_default", that'll work.