Build reproducible AWS Lambda packages outside Terraform, optimized for terraform-aws-lambda by serverless.tf.
Project description
repro-lambda
Build reproducible AWS Lambda packages outside Terraform, optimized for terraform-aws-lambda by serverless.tf.
Produces byte-identical zip files across local dev (macOS) and CI (Linux),
uploads to S3 by content-hash key, and lets Terraform read s3_existing_package
instead of building during terraform plan/apply.
Install
pip install repro-lambda
Usage
repro-lambda init # scaffold lambdas.toml and CI caller workflow
repro-lambda lock # regenerate per-arch lockfiles
repro-lambda build # build all lambdas in lambdas.toml, upload to S3
repro-lambda build --verify # two-pass byte-reproducibility check
See docs/ for full design.
Release
Releases are tag-driven. To cut v0.2.1:
git tag v0.2.1
git push origin v0.2.1
The publish.yml workflow uses PyPI Trusted Publishing (OIDC) — no PyPI token
needed in repo secrets. Configure once via PyPI's "Publishing" panel:
- Owner:
antonbabenko - Repository:
repro-lambda - Workflow:
publish.yml - Environment: (leave blank)
Setup
See SETUP.md for a copy-paste-able guide to provisioning the
S3 buckets, IAM OIDC role, and CI workflow needed to use repro-lambda in
your project.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file repro_lambda-0.2.3.tar.gz.
File metadata
- Download URL: repro_lambda-0.2.3.tar.gz
- Upload date:
- Size: 81.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6291e2b043a1098d4b817f5044f4670508ae5fc40f83e382eea2012818a65096
|
|
| MD5 |
24711ce278a694e38fd6e18856b17493
|
|
| BLAKE2b-256 |
dc33fd24b7a28e2403620eb5364bc11687edcfe09caf061ff290f251d7dced2a
|
Provenance
The following attestation bundles were made for repro_lambda-0.2.3.tar.gz:
Publisher:
publish.yml on antonbabenko/repro-lambda
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
repro_lambda-0.2.3.tar.gz -
Subject digest:
6291e2b043a1098d4b817f5044f4670508ae5fc40f83e382eea2012818a65096 - Sigstore transparency entry: 1886017166
- Sigstore integration time:
-
Permalink:
antonbabenko/repro-lambda@439543d39a9a8377f1be87de9be941edde98925a -
Branch / Tag:
refs/tags/v0.2.3 - Owner: https://github.com/antonbabenko
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@439543d39a9a8377f1be87de9be941edde98925a -
Trigger Event:
push
-
Statement type:
File details
Details for the file repro_lambda-0.2.3-py3-none-any.whl.
File metadata
- Download URL: repro_lambda-0.2.3-py3-none-any.whl
- Upload date:
- Size: 22.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6ebed15fa8bf9f23347a95e3c3632bdb50f3e20f84a2d36b6e86475e61805f41
|
|
| MD5 |
6e2ed487c2df906f0aac6fc9b7dca202
|
|
| BLAKE2b-256 |
ff1409670e5ca34e77f645e0fcb82db60fba466bf236778dc8ce9f5242550ce1
|
Provenance
The following attestation bundles were made for repro_lambda-0.2.3-py3-none-any.whl:
Publisher:
publish.yml on antonbabenko/repro-lambda
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
repro_lambda-0.2.3-py3-none-any.whl -
Subject digest:
6ebed15fa8bf9f23347a95e3c3632bdb50f3e20f84a2d36b6e86475e61805f41 - Sigstore transparency entry: 1886017203
- Sigstore integration time:
-
Permalink:
antonbabenko/repro-lambda@439543d39a9a8377f1be87de9be941edde98925a -
Branch / Tag:
refs/tags/v0.2.3 - Owner: https://github.com/antonbabenko
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@439543d39a9a8377f1be87de9be941edde98925a -
Trigger Event:
push
-
Statement type: