Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

repro_lambda-0.4.0.tar.gz (89.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

repro_lambda-0.4.0-py3-none-any.whl (25.7 kB view details)

Uploaded Python 3

File details

Details for the file repro_lambda-0.4.0.tar.gz.

File metadata

  • Download URL: repro_lambda-0.4.0.tar.gz
  • Upload date:
  • Size: 89.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for repro_lambda-0.4.0.tar.gz
Algorithm Hash digest
SHA256 1c86737bfaec6d9ff3da522f969b300cdd14c3dce6fc03008d4d5e87d7195a47
MD5 595d2c1e61fbb6d40c92255285754756
BLAKE2b-256 ecd1e3e677cc1e2acf11394d40f5d2ef2a7ae8ebe061f22b2b32dd88c86ab11d

See more details on using hashes here.

Provenance

The following attestation bundles were made for repro_lambda-0.4.0.tar.gz:

Publisher: publish.yml on antonbabenko/repro-lambda

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file repro_lambda-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: repro_lambda-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 25.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for repro_lambda-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b44db5f1cd7f03c1df231fb0ec1c1e7e9abc2afc3fe91c9dd1faa804d8756fbe
MD5 8fe091d5376d2d73f71b4344ae9c17bf
BLAKE2b-256 108db5c7a2bdc66eb611567776be7732fcaf6102283dfadd1c68f9c7207dae99

See more details on using hashes here.

Provenance

The following attestation bundles were made for repro_lambda-0.4.0-py3-none-any.whl:

Publisher: publish.yml on antonbabenko/repro-lambda

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page