{"id":19772039,"url":"https://github.com/danieldacosta/lambda-module","last_synced_at":"2025-07-22T23:34:43.999Z","repository":{"id":112641626,"uuid":"286254655","full_name":"DanielDaCosta/lambda-module","owner":"DanielDaCosta","description":"Terraform AWS Lambda module ","archived":false,"fork":false,"pushed_at":"2020-12-11T21:45:36.000Z","size":13,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-30T17:46:26.914Z","etag":null,"topics":["aws","lambda","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DanielDaCosta.png","metadata":{"files":{"readme":"README.md","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":"2020-08-09T14:36:06.000Z","updated_at":"2020-12-24T22:04:29.000Z","dependencies_parsed_at":"2023-06-02T06:30:18.861Z","dependency_job_id":null,"html_url":"https://github.com/DanielDaCosta/lambda-module","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/DanielDaCosta/lambda-module","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielDaCosta%2Flambda-module","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielDaCosta%2Flambda-module/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielDaCosta%2Flambda-module/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielDaCosta%2Flambda-module/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DanielDaCosta","download_url":"https://codeload.github.com/DanielDaCosta/lambda-module/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielDaCosta%2Flambda-module/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266590750,"owners_count":23952993,"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-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":["aws","lambda","terraform","terraform-module"],"created_at":"2024-11-12T05:05:10.821Z","updated_at":"2025-07-22T23:34:43.989Z","avatar_url":"https://github.com/DanielDaCosta.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Terraform AWS Lambda module\n\nThis is a short version of a terraform lambda module with some naming structure and patterns, used in order to give more scalability. The code was base on the following repository: [terraform-aws-module](https://github.com/terraform-aws-modules/terraform-aws-lambda) developed by Terraform AWS modules.\n\nCheck more on the following [Automating Lambda Modules Deployment With Gitlab-CI](https://medium.com/@danieldacosta_75030/automating-lambda-modules-deployment-with-gitlab-ci-b34cc58a7ac0).\n\n## Usage\n\n```terraform\nmodule \"lambda_sms\" {\n  source = \"git@github.com:DanielDaCosta/lambda-module.git\"\n\n  lambda_name             = var.lambda_sms\n  s3_bucket               = var.s3_bucket\n  s3_key                  = \"lambda-sms.zip\"\n  s3_object_version       = data.aws_s3_bucket_object.lambda_sms.version_id\n  environment             = var.environment\n  name                    = var.name\n  description             = \"Send SMS to user\"\n  role                    = data.aws_iam_role.lambda_exec_sms.arn\n  runtime                 = \"python3.7\"\n\n  reserved_concurrent_executions = 30\n\n  vpc_subnet_ids          = tolist(data.aws_subnet_ids.private.ids)\n  vpc_security_group_ids  = tolist([data.aws_security_group.postgres.id, aws_security_group.lambda.id])\n\n  environment_variables = {\n    ENV     = local.name_dash\n  }\n\n  create_async_event_config = true\n  maximum_retry_attempts    = 0\n  destination_on_failure    = data.aws_sqs_queue.sms_queue.arn\n}\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanieldacosta%2Flambda-module","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanieldacosta%2Flambda-module","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanieldacosta%2Flambda-module/lists"}