Configuration in this directory creates deployment packages in a variety of combinations.
This example demonstrates various packaging scenarios including:
- Python packages with pip requirements
- Poetry-based Python packages
- UV-based Python packages
- Node.js packages with npm
- Docker-based builds
- Quiet packaging - suppressing Poetry/pip/npm output during builds using
quiet_archive_local_exec = true
Look into Runtimes Examples for more ways to build and deploy AWS Lambda Functions using supported runtimes (Rust, Go, Java).
To run this example you need to execute:
$ terraform init
$ terraform plan
$ terraform applyNote that this example may create resources which cost money. Run terraform destroy when you don't need these resources.
| Name | Version |
|---|---|
| terraform | >= 1.5.7 |
| aws | >= 6.28 |
| random | >= 2.0 |
| Name | Version |
|---|---|
| random | >= 2.0 |
| Name | Type |
|---|---|
| random_pet.this | resource |
No inputs.
No outputs.