Sample lambda hello function using Serverless Framework
Install serverless framework
npm install -g serverless
Config AWS credentials:
serverless config credentials --provider aws --key <your_key> --secret <your_secret>
Deployment instructions are defined in serverless.yml
Lambda function is defined in handler.py
Deploy to AWS:
serverless deploy
Debug locally:
serverless invoke local --function hello