We use serverless to deploy code to AWS Lambda
There are several ways to install serverless package.
Refer https://www.serverless.com/framework/docs/getting-started/
Popular way of installing using NPM
- npm install -g serverless
There are potentially two files which needs to be changed
- handler.py
- send_email.py
- serverless deploy -v
- Ensure there are proper AWS credentials configured for deployment to succeed