{"id":22895249,"url":"https://github.com/skyleague/aws-lambda","last_synced_at":"2026-02-14T14:32:16.189Z","repository":{"id":101277427,"uuid":"525707334","full_name":"skyleague/aws-lambda","owner":"skyleague","description":"Simplifies the deployment of AWS Lambda Functions using Terraform.","archived":false,"fork":false,"pushed_at":"2024-07-15T15:22:27.000Z","size":19,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-09-07T06:39:21.646Z","etag":null,"topics":["aws","aws-lambda","lambda","serverless","skyleague","terraform"],"latest_commit_sha":null,"homepage":"https://skyleague.io","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/skyleague.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-08-17T08:41:44.000Z","updated_at":"2024-07-15T15:22:10.000Z","dependencies_parsed_at":"2024-01-02T10:24:09.175Z","dependency_job_id":"81014635-950a-4127-8bbb-f2f578da3c4a","html_url":"https://github.com/skyleague/aws-lambda","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/skyleague/aws-lambda","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skyleague%2Faws-lambda","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skyleague%2Faws-lambda/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skyleague%2Faws-lambda/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skyleague%2Faws-lambda/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/skyleague","download_url":"https://codeload.github.com/skyleague/aws-lambda/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skyleague%2Faws-lambda/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29447237,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-14T14:10:32.461Z","status":"ssl_error","status_checked_at":"2026-02-14T14:09:49.945Z","response_time":53,"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":["aws","aws-lambda","lambda","serverless","skyleague","terraform"],"created_at":"2024-12-13T23:28:43.199Z","updated_at":"2026-02-14T14:32:16.175Z","avatar_url":"https://github.com/skyleague.png","language":"HCL","readme":"# SkyLeague `aws-lambda` - easy AWS Lambda deployments with Terraform\n\n[![tfsec](https://github.com/skyleague/aws-lambda/actions/workflows/tfsec.yml/badge.svg?branch=main)](https://github.com/skyleague/aws-lambda/actions/workflows/tfsec.yml)\n\nThis module simplifies the deployment of AWS Lambda Functions using Terraform, as well as simplifying the adoption of the [Principle of Least Privilege](https://aws.amazon.com/blogs/security/techniques-for-writing-least-privilege-iam-policies/). When using this module, there is no need to attach AWS Managed Policies for basic functionality (CloudWatch logging, XRay tracing, VPC access). The Principle of Least Privilege is achieved by letting this module create a separate role for each Lambda Function. This role is granted the bare minimum set of permissions to match the configuration provided to this module. For example, `xray` permissions are automatically granted if (and only if) `xray_tracing_enabled = true`. Similar (dynamic) permissions are provided for other inputs (see [`iam.tf`](./iam.tf) for all dynamic permissions). Additional `existing_policy_arns` and `inline_policies` can be provided to grant the Lambda Function more permissions required by the application code (think of an S3 bucked or DynamoDB table used by your application code).\n\n## Usage\n\n```terraform\nmodule \"this\" {\n  source = \"git@github.com:skyleague/aws-lambda.git?ref=v1.0.0\n\n  function_name = \"hello-world\"\n  local_artifact = {\n    type      = \"dir\"\n    path      = \"${path.module}/.build/hello-world\"\n    s3_bucket = \"my-artifact-bucket\"\n    s3_prefix = null\n  }\n}\n```\n\n## Options\n\nFor a complete reference of all variables, have a look at the descriptions in [`variables.tf`](./variables.tf).\n\n## Outputs\n\nThe module outputs the `lambda`, `log_group` and `role` as objects, providing the flexibility to extend the Lambda Function with additional functionality, and without limiting the set of exposed outputs.\n\n## Future additions\n\nThis is the initial release of the module, with a very minimal set of standardized functionality. Most other functionality can already be achieved by utilizing the outputs, even the ones mentioned for standardization below. We plan on standardizing more integrations, so feel free to leave suggestions! Candidates include:\n\n- Event triggers with automatic Least Privilige permissions added to the Lambda role\n- ... **Your suggestions!**\n\n## Support\n\nSkyLeague provides Enterprise Support on this open-source library package at clients across industries. Please get in touch via [`https://skyleague.io`](https://skyleague.io).\n\nIf you are not under Enterprise Support, feel free to raise an issue and we'll take a look at it on a best-effort basis!\n\n## License \u0026 Copyright\n\nThis library is licensed under the MIT License (see [LICENSE.md](./LICENSE.md) for details).\n\nIf you using this SDK without Enterprise Support, please note this (partial) MIT license clause:\n\n\u003e THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND\n\nCopyright (c) 2022, SkyLeague Technologies B.V..\n'SkyLeague' and the astronaut logo are trademarks of SkyLeague Technologies, registered at Chamber of Commerce in The Netherlands under number 86650564.\n\nAll product names, logos, brands, trademarks and registered trademarks are property of their respective owners. All company, product and service names used in this website are for identification purposes only. Use of these names, trademarks and brands does not imply endorsement.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskyleague%2Faws-lambda","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fskyleague%2Faws-lambda","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskyleague%2Faws-lambda/lists"}