{"id":25409175,"url":"https://github.com/enter-at/terraform-aws-lambda-layer","last_synced_at":"2025-07-05T05:03:41.600Z","repository":{"id":56067405,"uuid":"227823063","full_name":"enter-at/terraform-aws-lambda-layer","owner":"enter-at","description":"Terraform module designed to facilitate the creation of AWS Lambda layers","archived":false,"fork":false,"pushed_at":"2023-03-27T00:56:07.000Z","size":53,"stargazers_count":10,"open_issues_count":67,"forks_count":11,"subscribers_count":4,"default_branch":"main","last_synced_at":"2023-03-27T08:19:34.091Z","etag":null,"topics":["aws","aws-lambda","aws-lambda-layer","terraform","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/enter-at.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null}},"created_at":"2019-12-13T11:18:46.000Z","updated_at":"2023-03-26T14:01:44.000Z","dependencies_parsed_at":"2023-01-20T11:31:41.916Z","dependency_job_id":null,"html_url":"https://github.com/enter-at/terraform-aws-lambda-layer","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enter-at%2Fterraform-aws-lambda-layer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enter-at%2Fterraform-aws-lambda-layer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enter-at%2Fterraform-aws-lambda-layer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enter-at%2Fterraform-aws-lambda-layer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/enter-at","download_url":"https://codeload.github.com/enter-at/terraform-aws-lambda-layer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239104528,"owners_count":19582322,"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","aws-lambda","aws-lambda-layer","terraform","terraform-module"],"created_at":"2025-02-16T08:19:54.234Z","updated_at":"2025-02-16T08:19:55.829Z","avatar_url":"https://github.com/enter-at.png","language":"HCL","readme":"\u003c!--\n\n  ** DO NOT EDIT THIS FILE\n  **\n  ** This file was automatically generated by the `build-harness`.\n  ** 1) Make all changes to `README.yaml`\n  ** 2) Run `make init` (you only need to do this once)\n  ** 3) Run`make readme` to rebuild this file.\n  **\n\n  --\u003e\n\n# terraform-aws-lambda-layer\n [![Build Status](https://github.com/enter-at/terraform-aws-lambda-layer/workflows/Code%20checks%20and%20tests/badge.svg)](https://github.com/enter-at/terraform-aws-lambda-layer/actions) [![Latest Release](https://img.shields.io/github/release/enter-at/terraform-aws-lambda-layer.svg)](https://github.com/enter-at/terraform-aws-lambda-layer/releases/latest) [![Semantic Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)\n\n\nTerraform module designed to facilitate the creation of AWS Lambda layers.\n\n\n---\n\n\nIt's 100% Open Source and licensed under the [APACHE2](LICENSE).\n\n\n\n\n\n\n\n## Usage\n\n\n**IMPORTANT:** The `main` branch is used in `source` just as an example. In your code, do not pin to `main` because there may be breaking changes between releases.\nInstead pin to the release tag (e.g. `?ref=tags/x.y.z`) of one of our [latest releases](https://github.com/enter-at/terraform-aws-lambda-layer/releases).\n\n\n### Simple Example\n\n```hcl\nmodule \"layer\" {\n  source = \"git::https://github.com/enter-at/terraform-aws-lambda-layer.git?ref=main\"\n  layer_name   = \"dependencies\"\n  package_file = \"../Pipfile\"\n}\n```\n\n### Advanced Example\n\n```hcl\nmodule \"layer\" {\n  source = \"git::https://github.com/enter-at/terraform-aws-lambda-layer.git?ref=main\"\n  layer_name   = \"dependencies\"\n  source_dir   = \"../src/lib\"\n  source_type  = \"python\"\n\n  rsync_pattern = [\n    \"--exclude='**tests**'\",\n    \"--exclude='**__pycache__**'\",\n    \"--include=module/{a,b,c}/\",\n    \"--include='*.py'\",\n    \"--exclude='module/*'\"\n  ]\n}\n```\n\n\n\n\n\n\n\n\n\u003c!-- markdownlint-disable --\u003e\n## Requirements\n\n| Name | Version |\n|------|---------|\n| terraform | \u003e= 0.13 |\n\n## Providers\n\n| Name | Version |\n|------|---------|\n| archive | n/a |\n| aws | n/a |\n| null | n/a |\n| random | n/a |\n\n## Inputs\n\n| Name | Description | Type | Default | Required |\n|------|-------------|------|---------|:--------:|\n| compatible\\_runtimes | (Optional) A list of Runtimes this layer is compatible with. Up to 5 runtimes can be specified. | `list(string)` | `null` | no |\n| description | (Optional) Description of what the Lambda layer does. | `string` | `null` | no |\n| layer\\_name | (Required) A unique name for the Lambda Layer. | `string` | n/a | yes |\n| package\\_file | (Optional) The location of the package manager config file. Can be one of (package.json, requirements.txt, Pipfile) | `string` | `null` | no |\n| rsync\\_pattern | (Optional) A list of rsync pattern to include or exclude files and directories. | `list(string)` | \u003cpre\u003e[\u003cbr\u003e  \"--include=*\"\u003cbr\u003e]\u003c/pre\u003e | no |\n| source\\_dir | (Optional) The location of the Lamvda layer source code. Requires source\\_type to be defined. | `string` | `null` | no |\n| source\\_type | (Optional) The location of the Lambda layer source type. Can be one of (nodejs, python) | `string` | `null` | no |\n\n## Outputs\n\n| Name | Description |\n|------|-------------|\n| arn | The Amazon Resource Name (ARN) of the Lambda layer with version. |\n| created\\_date | The date the layer was created. |\n| layer\\_arn | The Amazon Resource Name (ARN) of the Lambda layer without version. |\n| source\\_code\\_size | The size in bytes of the layer .zip file. |\n| version | The Lamba layer version. |\n\n\u003c!-- markdownlint-restore --\u003e\n\n\n\n## Share the Love\n\nLike this project?\nPlease give it a ★ on [our GitHub](https://github.com/enter-at/terraform-aws-lambda-layer)!\n\n\n## Related Projects\n\nCheck out these related projects.\n\n- [terraform-aws-lambda](https://github.com/enter-at/terraform-aws-lambda) - Terraform module designed to facilitate the creation of AWS Lambda functions.\n\n\n\n## Help\n\n**Got a question?**\n\nFile a GitHub [issue](https://github.com/enter-at/terraform-aws-lambda-layer/issues).\n\n## Contributing\n\n### Bug Reports \u0026 Feature Requests\n\nPlease use the [issue tracker](https://github.com/enter-at/terraform-aws-lambda-layer/issues) to report any bugs or file feature requests.\n\n### Developing\n\nIf you are interested in being a contributor and want to get involved in developing this project, we would love to hear from you!\n\nIn general, PRs are welcome. We follow the typical \"fork-and-pull\" Git workflow.\n\n 1. **Fork** the repo on GitHub\n 2. **Clone** the project to your own machine\n 3. **Commit** changes to your own branch\n 4. **Push** your work back up to your fork\n 5. Submit a **Pull Request** so that we can review your changes\n\n**NOTE:** Be sure to merge the latest changes from \"upstream\" before making a pull request!\n\n\n\n\n\n## License\n\n[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)\n\nSee [LICENSE](LICENSE) for full details.\n\n    Licensed to the Apache Software Foundation (ASF) under one\n    or more contributor license agreements.  See the NOTICE file\n    distributed with this work for additional information\n    regarding copyright ownership.  The ASF licenses this file\n    to you under the Apache License, Version 2.0 (the\n    \"License\"); you may not use this file except in compliance\n    with the License.  You may obtain a copy of the License at\n\n      https://www.apache.org/licenses/LICENSE-2.0\n\n    Unless required by applicable law or agreed to in writing,\n    software distributed under the License is distributed on an\n    \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n    KIND, either express or implied.  See the License for the\n    specific language governing permissions and limitations\n    under the License.\n\n\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fenter-at%2Fterraform-aws-lambda-layer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fenter-at%2Fterraform-aws-lambda-layer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fenter-at%2Fterraform-aws-lambda-layer/lists"}