This repo contains the basic format for getting started with AWS Lambda and Cloudformation. Use this repo as a template to get started with your next AWS Lambda function.
Make sure you've installed the awscli and samcli.
Setup your aws credentials.
Set your local environment variables in the local_config.env
file. You'll need to create an S3 bucket that will house your lambda code.
To test locally ./test.sh
Make sure you've setup your template.yaml
file, as well as set the appropriate environment variables in the local_config.env
file.
To deploy to your aws account ./deploy.sh
.