{"id":16842451,"url":"https://github.com/psypherpunk/tf-aws-lambda-exec-wrapper","last_synced_at":"2026-02-12T12:10:54.892Z","repository":{"id":76757246,"uuid":"527620528","full_name":"PsypherPunk/tf-aws-lambda-exec-wrapper","owner":"PsypherPunk","description":"Terraform to deploy an AWS Lambda layer containing aws-lambda-secrets-wrapper-rs.","archived":false,"fork":false,"pushed_at":"2022-08-22T17:55:57.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-03T08:15:15.892Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PsypherPunk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2022-08-22T15:20:37.000Z","updated_at":"2022-08-22T15:21:30.000Z","dependencies_parsed_at":"2024-02-20T15:30:09.833Z","dependency_job_id":null,"html_url":"https://github.com/PsypherPunk/tf-aws-lambda-exec-wrapper","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/PsypherPunk/tf-aws-lambda-exec-wrapper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PsypherPunk%2Ftf-aws-lambda-exec-wrapper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PsypherPunk%2Ftf-aws-lambda-exec-wrapper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PsypherPunk%2Ftf-aws-lambda-exec-wrapper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PsypherPunk%2Ftf-aws-lambda-exec-wrapper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PsypherPunk","download_url":"https://codeload.github.com/PsypherPunk/tf-aws-lambda-exec-wrapper/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PsypherPunk%2Ftf-aws-lambda-exec-wrapper/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29365766,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-12T08:51:36.827Z","status":"ssl_error","status_checked_at":"2026-02-12T08:51:26.849Z","response_time":55,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-10-13T12:46:12.103Z","updated_at":"2026-02-12T12:10:54.866Z","avatar_url":"https://github.com/PsypherPunk.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `tf-aws-lambda-exec-wrapper`\n\nDeploys an AWS Lambda layer containing\n[`aws-lambda-secrets-wrapper-rs`](https://github.com/PsypherPunk/aws-lambda-secrets-wrapper-rs).\n\nSee that repo. for more details but fundamentally this allows the ARN of an\nAWS Secrets Manager secret to be passed to an AWS Lambda, having the ARN\nresolved to the actual Secret value and passed into the AWS Lambda as an\nenvironment variable:\n\n```hcl\nmodule \"lambda_exec_wrapper\" {\n  source = \"github.com/psypherpunk/tf-aws-lambda-exec-wrapper\"\n\n  lambda_exec_wrapper_version = \"0.2.3\"\n}\n\nresource \"aws_lambda_function\" \"this\" {\n  layers = [\n    module.lambda_exec_wrapper.lambda_exec_wrapper_layer_arn\n  ]\n\n  environment {\n    variables = {\n      AWS_LAMBDA_EXEC_WRAPPER      = \"/opt/secrets-wrapper\"\n      DATABASE_PASSWORD_SECRET_ARN = \"arn:aws:secretsmanager:…:…:secret:…\"  # pragma: allowlist secret\n    }\n  }\n}\n```\n\n\u003c!-- https://github.com/terraform-docs/terraform-docs --\u003e\n\u003c!-- BEGIN_TF_DOCS --\u003e\n## Requirements\n\nNo requirements.\n\n## Providers\n\n| Name | Version |\n|------|---------|\n| \u003ca name=\"provider_aws\"\u003e\u003c/a\u003e [aws](#provider\\_aws) | n/a |\n| \u003ca name=\"provider_null\"\u003e\u003c/a\u003e [null](#provider\\_null) | n/a |\n\n## Modules\n\nNo modules.\n\n## Resources\n\n| Name | Type |\n|------|------|\n| [aws_lambda_layer_version.lambda_exec_wrapper](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/lambda_layer_version) | resource |\n| [null_resource.lambda_exec_wrapper](https://registry.terraform.io/providers/hashicorp/null/latest/docs/resources/resource) | resource |\n\n## Inputs\n\n| Name | Description | Type | Default | Required |\n|------|-------------|------|---------|:--------:|\n| \u003ca name=\"input_lambda_exec_wrapper_version\"\u003e\u003c/a\u003e [lambda\\_exec\\_wrapper\\_version](#input\\_lambda\\_exec\\_wrapper\\_version) | Semantic version of the AWS Lambda wrapper to be included. | `string` | n/a | yes |\n| \u003ca name=\"input_tags\"\u003e\u003c/a\u003e [tags](#input\\_tags) | Tags to be included with all appropriate resources. | `map(string)` | `{}` | no |\n\n## Outputs\n\n| Name | Description |\n|------|-------------|\n| \u003ca name=\"output_lambda_exec_wrapper_layer_arn\"\u003e\u003c/a\u003e [lambda\\_exec\\_wrapper\\_layer\\_arn](#output\\_lambda\\_exec\\_wrapper\\_layer\\_arn) | ARN of the AWS Lambda Layer containing the wrapper script. |\n\u003c!-- END_TF_DOCS --\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpsypherpunk%2Ftf-aws-lambda-exec-wrapper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpsypherpunk%2Ftf-aws-lambda-exec-wrapper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpsypherpunk%2Ftf-aws-lambda-exec-wrapper/lists"}