This sample provide a simple way to start a basic Node.js application with modern Javascript, redis and straightforward secrets management on AWS.
🚨 Be careful if you're using VPC with serverless to access resources like RDS or Elasticache in addition to SecretsManager or other external services don't forget to provide access to internet to your VPC.
- Elasticache (redis)
- SecretsManager
- Node.js 8.10
yarn dev
The first time you need to deploy the stack with
yarn deploy
Then you will be able to deploy only your function
yarn deploy --function hello
You can set your secrets locally inside secrets.json
and environment variables inside env.json