lambda-continuous-delivery icon indicating copy to clipboard operation
lambda-continuous-delivery copied to clipboard

Sample project that shows how AWS Lambda versioning can be used to enable continuous delivery

Continuous Delivery for AWS Lambda

Sample project that shows how AWS Lambda Aliases can be used to enable continuous integration.

Please read the blog post for details.

Tools

In order to execute the scripts, you need to install the following tools:

  • AWS CLI (AWS Command Line Interface)
  • jq (JSON Command Line Processor)

CloudFormation Template

cloudformation.template

Scripts

Create stack

  • 0-create-stack.sh

Pipeline Steps

Script Description
1-test.sh Execute unit tests
2-package.sh Create .zip
3-update-lambda.sh Update Lambda
4-integration-test.sh Execute integration tests
5-publish-version.sh Publish Lambda version
6-update-stage-alias.sh Update stage alias
7-update-prod-alias.sh Update prod alias

Pipeline Script

  • build-and-deploy-to-stage.sh

Support Script

  • update-alias.sh