# terraform-aws-modules/terraform-aws-lambda

Terraform module, which takes care of a lot of AWS Lambda/serverless tasks (build dependencies, packages, updates, deployments) in countless combinations 🇺🇦

Repository: https://github.com/terraform-aws-modules/terraform-aws-lambda
Canonical: https://ross.abutalabs.com/products/terraform-aws-lambda
Homepage: https://registry.terraform.io/modules/terraform-aws-modules/lambda/aws
Language: HCL
License: Apache-2.0
License Family: permissive
Topics: aws, serverless, aws-lambda, terraform-module, terraform-serverless
Last push: 2026-08-06T16:22:58+00:00

## Health v2 (maintenance only)
Score: 94/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 96, release rhythm 89, longevity 100
- inputs: {"age_days": 2283, "days_push": 27, "days_rel": 75, "gap_med": 7, "n_releases_24m": 34}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1045, forks 774 (observed 2026-08-28T04:03:21.508639+00:00)

## What it is
A Terraform module for AWS Lambda that handles building dependencies, packaging, and deploying Lambda functions and layers. It is part of the serverless.tf framework and supports complex deployments like canary and rolling updates.

## Use cases
- deploy aws lambda functions with terraform
- build lambda dependencies and packages automatically
- manage lambda layers and aliases in terraform
- set up canary or rolling deployments for lambda
- package lambda code into s3 or ecr
- configure lambda with vpc, efs, and provisioned concurrency

## When to choose
- you use Terraform to manage AWS serverless infrastructure
- you need automated dependency building and packaging for Lambda
- you want advanced deployment strategies like canary or aliases

## When to avoid
- you don't use Terraform or AWS
- you need a simple one-off Lambda deployment without IaC
- you use a different cloud provider

## Facets
- artifact type: infra-config
- maturity: active
- function: infrastructure-as-code, deployment, build-tool, serverless
- domain: cloud-computing
- platform: cloud, python
- tags: terraform-module, aws-lambda, lambda-layers, deployment-packages, serverless-framework, devops, aws, serverless, terraform, docker

## Member repositories
- terraform-aws-modules/terraform-aws-lambda (main) score 94

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:21.508639+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:02:09.103221+00:00, confidence not recorded.
  - readme: https://github.com/terraform-aws-modules/terraform-aws-lambda (fetched 2026-08-28T04:03:21.508639+00:00, sha 6cffdc16fe61)
  - homepage: https://registry.terraform.io/modules/terraform-aws-modules/lambda/aws (fetched 2026-08-29T13:03:02.368237+00:00, sha 9edc94571ef3)
- Data as of 2026-08-30T08:39:29.467469+00:00.
