{"id":29796237,"url":"https://github.com/nsbno/terraform-aws-lambda","last_synced_at":"2026-01-20T17:39:10.271Z","repository":{"id":193260770,"uuid":"688446654","full_name":"nsbno/terraform-aws-lambda","owner":"nsbno","description":"Create lambda functions with best practices","archived":false,"fork":false,"pushed_at":"2025-07-08T11:14:45.000Z","size":115,"stargazers_count":0,"open_issues_count":3,"forks_count":2,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-07-08T11:47:44.411Z","etag":null,"topics":["compute","terraform-module"],"latest_commit_sha":null,"homepage":"","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nsbno.png","metadata":{"files":{"readme":"README.adoc","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-09-07T11:18:09.000Z","updated_at":"2025-05-12T10:33:00.000Z","dependencies_parsed_at":"2023-09-07T12:20:18.745Z","dependency_job_id":"9929da02-15f4-44ec-91b3-f15c833de65e","html_url":"https://github.com/nsbno/terraform-aws-lambda","commit_stats":null,"previous_names":["nsbno/terraform-aws-lambda"],"tags_count":30,"template":false,"template_full_name":null,"purl":"pkg:github/nsbno/terraform-aws-lambda","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nsbno%2Fterraform-aws-lambda","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nsbno%2Fterraform-aws-lambda/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nsbno%2Fterraform-aws-lambda/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nsbno%2Fterraform-aws-lambda/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nsbno","download_url":"https://codeload.github.com/nsbno/terraform-aws-lambda/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nsbno%2Fterraform-aws-lambda/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267464522,"owners_count":24091505,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-28T02:00:09.689Z","response_time":68,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["compute","terraform-module"],"created_at":"2025-07-28T05:08:06.208Z","updated_at":"2026-01-20T17:39:10.263Z","avatar_url":"https://github.com/nsbno.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"= Lambda\n:!toc-title:\n:!toc-placement:\n:toc:\n\nCreate serverless applications with Lambda.\n\nArtifacts are assumed to be handled by the\nhttps://github.com/nsbno/platform-actions[GitHub Actions pipeline] and\nhttps://registry.terraform.io/providers/nsbno/vy/latest[terraform-provider-vy].\n\ntoc::[]\n\n== Usage\n\nRemember to check out the link:variables.tf[*variables*] and link:outputs.tf[*outputs*] to see all options.\n\nIMPORTANT: This module uses lambda aliases.\nRemember to use the `function_qualifier` instead of using the `function_name` to reference the lambda!\n\n=== S3 Artifact Lambda\n\n[source,hcl]\n----\nmodule \"lambda_s3\" {\n  source = \"github.com/nsbno/terraform-aws-lambda?ref=x.y.z\"\n\n  service_name = \"get-users\"\n\n  artifact_type = \"s3\"\n  artifact      = data.vy_lambda_artifact.this\n\n  runtime = \"python3.11\"\n  handler = \"handler.main\"\n\n  memory = 256\n}\n----\n\nSee the link:examples/complete/s3.tf[full S3 artifact example here].\n\n=== ECR Artifact Lambda\n\n[source,hcl]\n----\nmodule \"lambda_ecr\" {\n  source = \"github.com/nsbno/terraform-aws-lambda?ref=x.y.z\"\n\n  service_name = \"get-users\"\n\n  artifact_type = \"ecr\"\n  artifact      = data.vy_lambda_artifact.this\n\n  memory = 256\n}\n----\n\nSee the link:examples/complete/ecr.tf[full ECR artifact example here].\n\n== Examples\n\nThese examples show you how to use this module in different configurations.\n\n=== link:examples/complete[Complete]\n\nA complete example with Vy provider, ECR and S3 artifact types.\n\n=== link:examples/monorepo/main.tf[Monorepo]\n\nManaging multiple Lambda functions in a monorepo structure.\n\n=== link:examples/datadog[Datadog]\n\nAn example with Datadog integration.\n\n=== link:examples/sqs/main.tf[SQS]\n\nThis example shows a Lambda that is triggered by an SQS queue.\n\n=== link:examples/provisioned_concurrency/main.tf[Provisioned concurrency]\n\nAn example with autoscaling provisioned concurrency.\n\n=== link:examples/legacy/main.tf[Legacy implementation]\n\nIf you are using version `\u003c 2.0.0` of this module, check out this example.\n\n== Integration Modules\n\nThis module has sub-modules to make integration with other AWS services easier.\n\nlink:modules/sqs_integration[SQS]::\nThis module allows you to trigger your Lambda with SQS queues.\n\nlink:modules/api_gw_v2_integration[API Gateway v2]::\nThis module allows you to trigger your Lambda with API Gateway v2\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnsbno%2Fterraform-aws-lambda","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnsbno%2Fterraform-aws-lambda","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnsbno%2Fterraform-aws-lambda/lists"}