Follow these steps to deploy your Lambda function using the Serverless Framework.
- Make sure you have Node.js and npm installed on your machine.
- You need to have an AWS account and obtain your AWS access key and secret.
npm install -g serverless
serverless plugin install -n serverless-python-requirements
serverless config credentials --provider aws --key YOUR_KEY --secret YOUR_SECRET
cp .env.example .env
sls deploy