- Run
make setupto install dependencies - Run
make container-bashto use bash inside container - Run
make buildto create a build
If you want to create and deploy your Lambda using aws-cli
- Install
aws-cli - Read docs and run
aws configureto setup your environment
aws lambda create-function --function-name aws-lambda-typescript-boilerplate \
--zip-file fileb://deploy.zip --handler index.handler --runtime nodejs10.x \
--role arn:aws:iam::YOUR_ROLE_HERE
aws lambda update-function-code --function-name aws-lambda-typescript-boilerplate --zip-file fileb://deploy.zip