An open API service indexing awesome lists of open source software.

https://github.com/neverendingqs/serverless-dotenv-example


https://github.com/neverendingqs/serverless-dotenv-example

code-examples serverless-examples serverless-framework

Last synced: 8 months ago
JSON representation

Awesome Lists containing this project

README

          

# serverless-dotenv-example

This is a simple example to how you can use `dotenv` with the [Serverless
Framework](https://www.serverless.com/) without using a
[plugin](https://github.com/neverendingqs/serverless-dotenv-plugin).

See the example in action by running the following:

```sh
npm i
npm run sls -- package
```

The logs and `.serverless/cloudformation-template-update-stack.json` show env vars being loaded by
`dotenv` as expected.

_Got a question or want to see more examples like this? Be sure to check out my [AMA repo](https://github.com/neverendingqs/ask-me-anything)!_