Build deployment packages for AWS Lambda
masterThis module provides various patterns for creating deployment packages for AWS Lambda functions. It supports multiple packaging scenarios, allowing you to automate the creation of artifacts directly within your Terraform workflow.
Supported packaging scenarios include:
- Python: Using
piprequirements,Poetry, orUV. - Node.js: Using
npm(with or without lock files). - Docker: Building packages within Docker containers.
- Quiet Mode: Suppressing build output from tools like Poetry, pip, or npm by setting
quiet_archive_local_exec = true.
For runtimes that require compilation (like Rust, Go, or Java), refer to the Runtimes Examples in the repository.