This example repo contains the code for hello world & a shell script that can build & deploy a lambda function to AWS using the latest provided.al2 runtime from sratch.
- AWS CLI (Should be configured & logged in with default region)
- Go
- jq
Parameters are optional. Defaults will be used unless specified.
deploy.sh functionName roleName
The script will do the following:
- Create lambda execution role
- Create lambda function
- Build & deploy latest code (current directory) to Lambda