Generating Python Payloads for AWS Lambda

An easy-to-use Terraform module for deploying AWS Lambda functions

aurynn shaw
February 02, 2018

AWS’s Lambda, and the serverless architecture in general has been a huge boon not just to our ability to build experimental web software, but also a new level of interesting and valuable workflow and automation tooling.

However, one of the things that’s been regularly difficult is easily integrating the build process into our Terraform cloud automation, in a manner that is consistent with the goals and philosophies of Terraform.

To that end, we’ve open-sourced the Terraform module we use to automatically build Python packages for use on AWS Lambda. It’s intended to easily integrate into your existing Terraform infrastructure and only rebuild the payload archive on any change to your Python Lambda function.

You can get the module here.


python lambda terraform

© Eiara Limited