{"id":22592200,"url":"https://github.com/maroux/terraform-aws-hedwig-lambda-subscription","last_synced_at":"2026-02-01T01:33:30.051Z","repository":{"id":70271161,"uuid":"133574399","full_name":"maroux/terraform-aws-hedwig-lambda-subscription","owner":"maroux","description":null,"archived":false,"fork":false,"pushed_at":"2018-05-15T21:17:50.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-14T11:06:58.923Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HCL","has_issues":false,"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/maroux.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":"2018-05-15T21:17:43.000Z","updated_at":"2020-07-18T07:25:54.000Z","dependencies_parsed_at":"2023-03-21T11:19:04.164Z","dependency_job_id":null,"html_url":"https://github.com/maroux/terraform-aws-hedwig-lambda-subscription","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/maroux/terraform-aws-hedwig-lambda-subscription","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maroux%2Fterraform-aws-hedwig-lambda-subscription","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maroux%2Fterraform-aws-hedwig-lambda-subscription/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maroux%2Fterraform-aws-hedwig-lambda-subscription/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maroux%2Fterraform-aws-hedwig-lambda-subscription/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maroux","download_url":"https://codeload.github.com/maroux/terraform-aws-hedwig-lambda-subscription/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maroux%2Fterraform-aws-hedwig-lambda-subscription/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28963913,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-01T01:25:30.373Z","status":"ssl_error","status_checked_at":"2026-02-01T01:25:29.809Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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-12-08T09:15:40.054Z","updated_at":"2026-02-01T01:33:30.010Z","avatar_url":"https://github.com/maroux.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"Hedwig Lambda Subscription Terraform module\n===========================================\n\n[Hedwig](https://github.com/Automatic/hedwig) is a inter-service communication bus that works on AWS SQS/SNS, while keeping things pretty simple and\nstraight forward. It uses [json schema](http://json-schema.org/) draft v4 for schema validation so all incoming\nand outgoing messages are validated against pre-defined schema.\n\nThis module provides a custom [Terraform](https://www.terraform.io/) modules for deploying Hedwig infrastructure that\ncreates Hedwig subscriptions for Hedwig consumer apps hosted on AWS Lambda.\n\n## Usage\n\n```hcl\nmodule \"topic-dev-user-updated-v1\" {\n  source = \"Automatic/hedwig-topic/aws\"\n  topic  = \"dev-user-updated-v1\"\n}\n\nresource \"aws_lambda_function\" \"dev-myFunction\" {\n  ...\n}\n  \nmodule \"sub-dev-myapp-dev-user-updated\" {\n  source             = \"Automatic/hedwig-lambda-subscription/aws\"\n  function           = \"${aws_lambda_function.dev-myFunction.arn}\"\n  function_name      = \"${aws_lambda_function.dev-myFunction.function_name}\"\n  function_qualifier = \"deployed\"\n\n  topic              = \"${module.topic-dev-user-updated-v1.arn}\"\n}\n```\n\n## Lambda Function Config\n\nFollowing things are required in your Lambda function config for publishing:\n\nRole policy should include:\n```hcl\n  statement {\n    actions = [\n      \"SNS:Publish\"\n    ]\n    resources = [\n      \"arn:aws:sns:\u003cYOUR-AWS-REGION\u003e:\u003cYOUR-AWS-ACCOUNT\u003e:hedwig-*\"\n    ]\n  }\n```\n\n\n## Release Notes\n\n[Github Releases](https://github.com/Automatic/terraform-aws-hedwig-lambda-subscription/releases)\n\n## How to publish\n\nGo to [Terraform Registry](https://registry.terraform.io/modules/Automatic/hedwig-lambda-subscription/aws), and Resync \nmodule.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaroux%2Fterraform-aws-hedwig-lambda-subscription","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaroux%2Fterraform-aws-hedwig-lambda-subscription","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaroux%2Fterraform-aws-hedwig-lambda-subscription/lists"}