Skip to content
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

.env fil #1

Closed
pchauhan77 opened this issue Aug 30, 2021 · 3 comments
Closed

.env fil #1

pchauhan77 opened this issue Aug 30, 2021 · 3 comments

Comments

@pchauhan77
Copy link

Hi,
can you share .env file and i want to integrate aws rds how can i do it? do you have any example?

@eduardo3g
Copy link
Owner

eduardo3g commented Aug 30, 2021

Hi!

First of all, you need to deploy the whole stack using the command sls deploy.

Once the deployment is done, run the command npm run exportEnv. It will automatically generate the .env file for you using the serverless-export-env plugin.

Regarding the RDS integration, I don't have a public repository using it. But check out the official documentation, it might help you: https://aws.amazon.com/blogs/mobile/appsync-graphql-sql-rds-proxy/

Cheers!

@pchauhan77
Copy link
Author

Capture37
I am getting this error.

@eduardo3g eduardo3g reopened this Sep 23, 2021
@eduardo3g
Copy link
Owner

Hey @pchauhan77, this error comes from the serverless-layers plugin. I raised a new issue #2 to keep track of it separately. I plan to open a PR today to fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants