{"id":30743440,"url":"https://github.com/ukho/tfmodule-azure-eventhubnamespace","last_synced_at":"2026-02-14T14:05:56.872Z","repository":{"id":306273572,"uuid":"1025623903","full_name":"UKHO/tfmodule-azure-eventhubnamespace","owner":"UKHO","description":null,"archived":false,"fork":false,"pushed_at":"2025-08-08T08:48:19.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-08T10:26:53.376Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/UKHO.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,"zenodo":null}},"created_at":"2025-07-24T14:37:41.000Z","updated_at":"2025-08-08T08:47:51.000Z","dependencies_parsed_at":"2025-07-24T19:38:11.790Z","dependency_job_id":null,"html_url":"https://github.com/UKHO/tfmodule-azure-eventhubnamespace","commit_stats":null,"previous_names":["ukho/tfmodule-azure-eventhubnamespace"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/UKHO/tfmodule-azure-eventhubnamespace","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UKHO%2Ftfmodule-azure-eventhubnamespace","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UKHO%2Ftfmodule-azure-eventhubnamespace/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UKHO%2Ftfmodule-azure-eventhubnamespace/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UKHO%2Ftfmodule-azure-eventhubnamespace/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/UKHO","download_url":"https://codeload.github.com/UKHO/tfmodule-azure-eventhubnamespace/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UKHO%2Ftfmodule-azure-eventhubnamespace/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273539317,"owners_count":25123499,"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-09-04T02:00:08.968Z","response_time":61,"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":"2025-09-04T02:07:19.268Z","updated_at":"2026-02-14T14:05:56.797Z","avatar_url":"https://github.com/UKHO.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tfmodule-azure-eventhubnamespace\n\nUse this module to create an eventhub namespace and some associated event hubs, it is possible to create event hubs separately.\n\n## Usage\n\n```terraform\n  variable \"product\" {\n    type = string\n    description = \"The product name (no spaces)\"\n  }\n  \n  variable \"environment\" {\n    type = string\n    description = \"Environment name or resource (no spaces)\"\n  }\n  \n  variable \"location\" {\n    type = string\n    description = \"Location the resource will run in\"\n  }\n  \n  variable \"resource_group_name\" {\n    type = string\n    description = \"Resource Group name\"\n  }\n  variable \"sku\" {\n    type = string\n    description = \"SKU for the Event Hub Namespace\"\n    default = \"Standard\"\n  }\n  variable \"capacity\" {\n    type = number\n    description = \"Capacity for the Event Hub Namespace\"\n    default = 1\n  }\n  variable \"tags\" {\n    type = map(string)\n    description = \"Tags to be applied to the resource\"\n    default = {}\n  }\n  \n  #array of event hubs and settings\n  variable \"event_hubs\" {\n    type = list(object({\n      service             = string\n      role                = string\n      partition_count     = number\n      message_retention   = number\n      capture_description = optional(string)\n    }))\n    description = \"List of Event Hubs with their settings\"\n    default     = []\n  }\n\nmodule \"producteventhub\" {\n  source = \"github.com/ukho/tfmodule-azure-eventhubnamespace?ref=[version]\"\n  \n  product       = \"myapp\"\n  location           = \"UK South\"\n  resource_group_name = \"rg-myapp-prod\"\n  environment        = \"prd\"\n  \n  # Optional variables with examples\n  sku               = \"Standard\"  # Basic, Standard, or Premium\n  capacity          = 2           # Throughput units (1-20 for Standard)\n  tags = {}\n  \n  # Event Hub configurations\n  event_hubs = [\n    {\n      service             = \"api\"\n      role                = \"logging\"\n      partition_count     = 4\n      message_retention   = 7\n      capture_description = \"Capture logs for long-term storage\"\n    },\n    {\n      service             = \"api\"\n      role                = \"telemetry\"\n      partition_count     = 2\n      message_retention   = 1\n    }\n  ]\n  \n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fukho%2Ftfmodule-azure-eventhubnamespace","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fukho%2Ftfmodule-azure-eventhubnamespace","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fukho%2Ftfmodule-azure-eventhubnamespace/lists"}