-
Log into Serverless Dashboard, create a project and set up Access Roles for secure temporary AWS deployment
-
run
npm install
to ensure the following serverless packages for CI/CD are installed: serverless-plugin-aws-alerts serverless-plugin-canary-deployments
- When creating a new Lambda Function that should cohere with Canary Deployment, ensure it contains the pretraffic/posttraffic hooks:
preTrafficHook: preHook
postTrafficHook: postHook
- Install jest as a dependency (rather than dev dependency) since it will be used in production for pretraffic hooks:
npm i jest
// package.json
"jest": {
"verbose" : true
}