New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Aurora serverless Postgresql not supported #351
Comments
|
Are you sure your db is active? Can you use the Online Query Editor to send requests and works? |
|
Have changed the title, the issue is that Aurora Postgresql is not supported. Look at |
|
Had a bit of a look to see if I could support Postgres, but I would need to determine what kind of cluster this is, i.e. its engine. Couldn't see this easily. Anyway, for Postgres instead of |
|
See aws-amplify/amplify-cli#1914 as well. |
|
@berenddeboer I will mark this as a feature request, our PR will review it. |
|
+1 for feature See more history on this issue/desire as well here: aws-amplify/amplify-cli#2423 (comment) |
|
Any progress in this feature? |
|
any new updates? a must needed feature for my application |
|
How can I upvote this, I'd LOVE this ability in postgres, it could change the whole project I'm working on. |
|
Dear Amplify devs, We'd love to see this one day become production ready. Until then we will be consuming our AppSync graph with core/vanilla Apollo. ^_^ |
|
+1 for support I'll acknowledge the following:
Having used AppSync for managed GraphQL, we decided to use the Amplify CLI since it appears to be a great tool for managing / creating multiple environments. Since we're leveraging multiple types of data sources, you might think that the Amplify CLI should support data model management for those data sources (since Amplify is meant to manage everything for you, mostly...). However, we've actually used an Aurora Serverless Postgres database as a source of data (zipcodes, distance, etc.). We don't mind keeping the data model and resolvers for Queries/Mutations in sync ourselves, but functionality would be very nice to mark a data source as "self-managed" so when our resolvers are replicated for new environment creation they will work automatically (since the resolvers are stored to I would propose something like |
|
+1 for the feature. The debate about using Amplify in our team largely revolves around having Postgres as an option. |
|
Just ran into this issue and certainly agree with many of the comments, Aurora Serverless Postgres + AppSync GraphQL would make for an awesome stack! |
|
There's actually another graphql api generator that already supports Aurora Postgres serverless called "Postgraphile". The graphql server layer can also be deployed as lambdas behind an API gateway. If there was an Amplify option to add another graphql endpoint as a datasource it could also achieve the same goal. Is that possible? |
|
this is 2021 I'm still hit on the same issue when database name is not same as dbusername; the amplify cli seems assuming the database always same as dbusername? in this case when my dbadmin name is 'pgadmin' what's worse is the cli seems trying fetching again and stuck there forever, Until Ctrol-C to Abort $ amplify api add-graphql-datasource
⠹ Fetching Aurora Serverless cluster...BadRequestException: FATAL: database "pgadmin" does not exist
[...many lines of error stack]
There was an error adding the datasource
⠋ Fetching Aurora Serverless cluster...^Aborted!also tried to give dbname on the cli and try to ask for $ amplify api add-graphql-datasource --dbname dbname # or tried --help but all the same way errorI am following this guide trying add-graphql-datasource, but never reached the point of asking database name to use as datasource
|
|
Having the same issue as @t829702 . This is more than a bit bisarre. |
|
+1 For Postgres Support |
|
+1 for Postgres support. MySQL isn't ACID compliant. How come Amplify supports MySQL and not Postgresql? |
|
+1 For Postgres support. |
|
+1 for PostregSQL support |
1 similar comment
|
+1 for PostregSQL support |
|
+1 for Postgres Support |
2 similar comments
|
+1 for Postgres Support |
|
+1 for Postgres Support |
|
+1 for Postgres support |
|
+1 for natively supporting literally any kind of persistence layer other than DynamoDB. |
|
Hi folks - wanted to cross-post this RFC here: We are working on adding support for Postgres. The linked preview build allows you to import MySQL databases now. We plan on following the same pattern for Postgres. #815 (comment) |

Running
amplify api add-graphql-datasourcewill fetch my Aurora PostgreSQL cluster, then the secret, and then crashes:The reason is my database user is called
rootand there is no databaseroot, it just has a different name.What I would expect is that it does not switch to the postgresql default database (which is the name of the user), and continues to show me all my databases.
Desktop
The text was updated successfully, but these errors were encountered: