{"id":29019616,"url":"https://github.com/senora-dev/terraform-aws-eventbridge-rule","last_synced_at":"2026-02-01T20:01:36.085Z","repository":{"id":301182332,"uuid":"1000662805","full_name":"Senora-dev/terraform-aws-eventbridge-rule","owner":"Senora-dev","description":"This Terraform module creates an AWS EventBridge (CloudWatch Events) rule and its associated targets.","archived":false,"fork":false,"pushed_at":"2025-06-25T14:47:45.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-25T15:38:05.174Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Senora-dev.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":"2025-06-12T06:16:48.000Z","updated_at":"2025-06-25T14:38:59.000Z","dependencies_parsed_at":"2025-06-25T15:38:10.215Z","dependency_job_id":"21c280b0-ab84-4359-b666-85a2d1036d0d","html_url":"https://github.com/Senora-dev/terraform-aws-eventbridge-rule","commit_stats":null,"previous_names":["senora-dev/terraform-aws-eventbridge-rule"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/Senora-dev/terraform-aws-eventbridge-rule","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Senora-dev%2Fterraform-aws-eventbridge-rule","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Senora-dev%2Fterraform-aws-eventbridge-rule/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Senora-dev%2Fterraform-aws-eventbridge-rule/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Senora-dev%2Fterraform-aws-eventbridge-rule/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Senora-dev","download_url":"https://codeload.github.com/Senora-dev/terraform-aws-eventbridge-rule/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Senora-dev%2Fterraform-aws-eventbridge-rule/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28988407,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-01T18:17:03.387Z","status":"ssl_error","status_checked_at":"2026-02-01T18:16:57.287Z","response_time":56,"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":"2025-06-26T00:31:19.839Z","updated_at":"2026-02-01T20:01:36.069Z","avatar_url":"https://github.com/Senora-dev.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AWS EventBridge Rule Terraform Module\n\nThis Terraform module creates an AWS EventBridge (CloudWatch Events) rule and its associated targets.\n\n## Features\n\n- Create EventBridge rules with schedule expressions or event patterns\n- Support for multiple target types:\n  - Lambda functions\n  - SQS queues\n  - SNS topics\n  - ECS tasks\n  - Batch jobs\n  - Kinesis streams\n  - HTTP endpoints\n  - Systems Manager Run Command\n- Configurable retry policies and dead-letter queues\n- Support for input transformers\n- Tagging support\n\n## Usage\n\n```hcl\nmodule \"eventbridge_rule\" {\n  source = \"Senora-dev/eventbridge-rule/aws\"\n\n  rule_name        = \"my-scheduled-rule\"\n  schedule_expression = \"rate(5 minutes)\"\n  \n  targets = {\n    lambda = {\n      arn = \"arn:aws:lambda:region:account:function:my-function\"\n      input = jsonencode({\n        key = \"value\"\n      })\n    }\n    \n    sqs = {\n      arn = \"arn:aws:sqs:region:account:my-queue\"\n      sqs_target = {\n        message_group_id = \"group1\"\n      }\n    }\n  }\n\n  tags = {\n    Environment = \"prod\"\n    Project     = \"my-project\"\n  }\n}\n```\n\n## Examples\n\n- [Basic Example](examples/basic/main.tf) - Creates a simple scheduled rule with a Lambda target\n- [Complete Example](examples/complete/main.tf) - Creates a rule with multiple targets and advanced configurations\n\n## Requirements\n\n| Name | Version |\n|------|---------|\n| terraform | \u003e= 1.0 |\n| aws | \u003e= 4.0 |\n\n## Inputs\n\n| Name | Description | Type | Default | Required |\n|------|-------------|------|---------|:--------:|\n| create_rule | Whether to create the EventBridge rule | `bool` | `true` | no |\n| create_target | Whether to create the EventBridge target | `bool` | `true` | no |\n| rule_name | The name of the EventBridge rule | `string` | n/a | yes |\n| rule_description | The description of the EventBridge rule | `string` | `null` | no |\n| schedule_expression | The scheduling expression for the rule | `string` | `null` | no |\n| event_pattern | The event pattern for the rule | `string` | `null` | no |\n| rule_role_arn | The ARN of the IAM role associated with the rule | `string` | `null` | no |\n| is_enabled | Whether the rule is enabled | `bool` | `true` | no |\n| targets | Map of EventBridge targets | `map(object)` | `{}` | no |\n| tags | A map of tags to add to all resources | `map(string)` | `{}` | no |\n\n## Outputs\n\n| Name | Description |\n|------|-------------|\n| rule_arn | The ARN of the EventBridge rule |\n| rule_name | The name of the EventBridge rule |\n| rule_id | The ID of the EventBridge rule |\n| target_ids | The IDs of the EventBridge targets |\n| target_arns | The ARNs of the EventBridge targets |\n\n## License\n\nMIT Licensed. See LICENSE for full details.\n\n## Maintainers\n\nThis module is maintained by [Senora.dev](https://senora.dev). ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsenora-dev%2Fterraform-aws-eventbridge-rule","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsenora-dev%2Fterraform-aws-eventbridge-rule","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsenora-dev%2Fterraform-aws-eventbridge-rule/lists"}