{"id":17033769,"url":"https://github.com/alexandermendes/tf-aws-lambda-api","last_synced_at":"2026-05-11T04:34:06.798Z","repository":{"id":90622100,"uuid":"214687670","full_name":"alexandermendes/tf-aws-lambda-api","owner":"alexandermendes","description":"A Terraform module to create an AWS Lambda resource from file and invoke via API Gateway.","archived":false,"fork":false,"pushed_at":"2019-10-16T21:52:36.000Z","size":31,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-28T01:32:50.706Z","etag":null,"topics":["aws","terraform"],"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/alexandermendes.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2019-10-12T17:30:21.000Z","updated_at":"2023-03-17T12:19:31.000Z","dependencies_parsed_at":"2023-07-16T01:30:52.313Z","dependency_job_id":null,"html_url":"https://github.com/alexandermendes/tf-aws-lambda-api","commit_stats":null,"previous_names":[],"tags_count":21,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexandermendes%2Ftf-aws-lambda-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexandermendes%2Ftf-aws-lambda-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexandermendes%2Ftf-aws-lambda-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexandermendes%2Ftf-aws-lambda-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alexandermendes","download_url":"https://codeload.github.com/alexandermendes/tf-aws-lambda-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245026004,"owners_count":20549068,"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","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":["aws","terraform"],"created_at":"2024-10-14T08:36:07.228Z","updated_at":"2026-05-11T04:34:01.771Z","avatar_url":"https://github.com/alexandermendes.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Terraform AWS Lambda API Gateway Module\n\nA Terraform module to create an AWS Lambda resource from file and invoke via API Gateway.\n\n## Usage\n\nFor a function `my-function.py` placed in the `functions` directory in the root\nof the repository the following snippet will generate a POST endpoint to invoke\nthat function.\n\n```terraform\nmodule \"lambda-api\" {\n  source        = \"git::https://github.com/alexandermendes/tf-aws-lambda-api.git?ref=tags/v1.0.0\"\n  http_method   = \"POST\"\n  function_name = \"my-function\"\n  dir           = \"functions\"\n  ext           = \"py\"\n  runtime       = \"python3.7\"\n  handler       = \"lambda_handler\"\n}\n```\n\n**Note that the source reference above is just an example, in most cases you\nshould update it to the [latest tag](https://github.com/alexandermendes/tf-aws-lambda-api/tags).**\n\nFor additional variables and outputs see [variables.tf](./variables.tf) and\n[outputs.tf](./outputs.tf), respectively.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexandermendes%2Ftf-aws-lambda-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falexandermendes%2Ftf-aws-lambda-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexandermendes%2Ftf-aws-lambda-api/lists"}