{"id":51410878,"url":"https://github.com/launchbynttdata/tf-aws-module_primitive-cloudwatch_event_bus","last_synced_at":"2026-07-04T14:32:34.521Z","repository":{"id":349560700,"uuid":"1183338053","full_name":"launchbynttdata/tf-aws-module_primitive-cloudwatch_event_bus","owner":"launchbynttdata","description":null,"archived":false,"fork":false,"pushed_at":"2026-04-06T14:01:31.000Z","size":95,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-06T15:40:15.974Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/launchbynttdata.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":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":"NOTICE","maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-16T14:05:39.000Z","updated_at":"2026-04-06T13:57:09.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/launchbynttdata/tf-aws-module_primitive-cloudwatch_event_bus","commit_stats":null,"previous_names":["launchbynttdata/tf-aws-module_primitive-cloudwatch_event_bus"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/launchbynttdata/tf-aws-module_primitive-cloudwatch_event_bus","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/launchbynttdata%2Ftf-aws-module_primitive-cloudwatch_event_bus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/launchbynttdata%2Ftf-aws-module_primitive-cloudwatch_event_bus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/launchbynttdata%2Ftf-aws-module_primitive-cloudwatch_event_bus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/launchbynttdata%2Ftf-aws-module_primitive-cloudwatch_event_bus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/launchbynttdata","download_url":"https://codeload.github.com/launchbynttdata/tf-aws-module_primitive-cloudwatch_event_bus/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/launchbynttdata%2Ftf-aws-module_primitive-cloudwatch_event_bus/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35125718,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-04T02:00:05.987Z","response_time":113,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","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":[],"created_at":"2026-07-04T14:32:33.162Z","updated_at":"2026-07-04T14:32:34.505Z","avatar_url":"https://github.com/launchbynttdata.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Terraform AWS Module: CloudWatch Event Bus (Primitive)\n\n[![License](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)\n[![License: CC BY-NC-ND 4.0](https://img.shields.io/badge/License-CC_BY--NC--ND_4.0-lightgrey.svg)](https://creativecommons.org/licenses/by-nc-nd/4.0/)\n\n## Overview\n\nThis Terraform module wraps the [aws_cloudwatch_event_bus](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/cloudwatch_event_bus) resource to create an Amazon EventBridge (CloudWatch Events) event bus. It exposes all documented capabilities of the resource including optional KMS encryption, dead-letter queue configuration, and logging.\n\nEventBridge was formerly known as CloudWatch Events; the functionality is identical.\n\n## Pre-Commit Hooks\n\nThe [.pre-commit-config.yaml](.pre-commit-config.yaml) file defines `pre-commit` hooks for Terraform, Go, and common linting tasks.\n\n`commitlint` enforces conventional commit message format. The `detect-secrets-hook` prevents new secrets from being introduced into the baseline. See the [pre-commit documentation](https://pre-commit.com/) for installation and usage.\n\nTo enable the commit-msg hook for commitlint:\n\n```\npre-commit install --hook-type commit-msg\n```\n\n## Usage\n\n```hcl\nmodule \"event_bus\" {\n  source = \"terraform.registry.launch.nttdata.com/module_primitive/cloudwatch_event_bus/aws\"\n  version = \"~\u003e 1.0\"\n\n  name               = \"my-event-bus\"\n  description        = \"Event bus for application events\"\n  kms_key_identifier = aws_kms_key.event_bus.arn\n  tags               = var.tags\n}\n```\n\n\u003c!-- BEGIN_TF_DOCS --\u003e\n## Requirements\n\n| Name | Version |\n|------|---------|\n| \u003ca name=\"requirement_terraform\"\u003e\u003c/a\u003e [terraform](#requirement\\_terraform) | ~\u003e 1.5 |\n| \u003ca name=\"requirement_aws\"\u003e\u003c/a\u003e [aws](#requirement\\_aws) | ~\u003e 5.14 |\n\n## Modules\n\nNo modules.\n\n## Resources\n\n| Name | Type |\n|------|------|\n| [aws_cloudwatch_event_bus.event_bus](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/cloudwatch_event_bus) | resource |\n\n## Inputs\n\n| Name | Description | Type | Default | Required |\n|------|-------------|------|---------|:--------:|\n| \u003ca name=\"input_dead_letter_config\"\u003e\u003c/a\u003e [dead\\_letter\\_config](#input\\_dead\\_letter\\_config) | Configuration details of the Amazon SQS queue for EventBridge to use as a dead-letter queue (DLQ). | \u003cpre\u003eobject({\u003cbr/\u003e    arn = string\u003cbr/\u003e  })\u003c/pre\u003e | `null` | no |\n| \u003ca name=\"input_description\"\u003e\u003c/a\u003e [description](#input\\_description) | Event bus description. | `string` | `null` | no |\n| \u003ca name=\"input_event_source_name\"\u003e\u003c/a\u003e [event\\_source\\_name](#input\\_event\\_source\\_name) | Partner event source that the new event bus will be matched with. Must match name for partner event buses. | `string` | `null` | no |\n| \u003ca name=\"input_kms_key_identifier\"\u003e\u003c/a\u003e [kms\\_key\\_identifier](#input\\_kms\\_key\\_identifier) | Identifier of the AWS KMS customer managed key for EventBridge to use for encrypting events. Can be the key ARN, KeyId, key alias, or key alias ARN. | `string` | `null` | no |\n| \u003ca name=\"input_name\"\u003e\u003c/a\u003e [name](#input\\_name) | Name of the new event bus. The names of custom event buses cannot contain the / character. To create a partner event bus, ensure that the name matches the event\\_source\\_name. | `string` | n/a | yes |\n| \u003ca name=\"input_tags\"\u003e\u003c/a\u003e [tags](#input\\_tags) | Map of tags to assign to the event bus. | `map(string)` | `{}` | no |\n\n## Outputs\n\n| Name | Description |\n|------|-------------|\n| \u003ca name=\"output_arn\"\u003e\u003c/a\u003e [arn](#output\\_arn) | The ARN of the event bus. |\n| \u003ca name=\"output_id\"\u003e\u003c/a\u003e [id](#output\\_id) | The ID of the event bus (same as the name). |\n| \u003ca name=\"output_name\"\u003e\u003c/a\u003e [name](#output\\_name) | The name of the event bus. |\n\u003c!-- END_TF_DOCS --\u003e\n\n## Testing\n\n1. Run `make configure` to install dependencies.\n2. For AWS, set up credentials (e.g., `AWS_PROFILE`, `AWS_ACCESS_KEY_ID`/`AWS_SECRET_ACCESS_KEY`, or `make env` if configured).\n3. Create `examples/complete/provider.tf` with AWS provider configuration (delivered by Makefile when using `make configure`).\n4. Run `make check` to execute lint, validate, plan, conftests, terratest, and OPA tests.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaunchbynttdata%2Ftf-aws-module_primitive-cloudwatch_event_bus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flaunchbynttdata%2Ftf-aws-module_primitive-cloudwatch_event_bus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaunchbynttdata%2Ftf-aws-module_primitive-cloudwatch_event_bus/lists"}