IaC Bazaar
AzureLive-tested

Event Hubs Namespace & Hubs

An Event Hubs namespace plus hubs, each with consumer groups and least-privilege SAS rules for high-throughput (Kafka-compatible) ingestion — TLS 1.2 floor and optional default-deny networking.

terraformAzure#azure
azure-event-hubsterraform v1.7

Verification

Live-tested

Really deployed, verified, idempotent and destroyed in a cloud sandbox.

Conformance

  • Static validation (fmt · validate · tflint)
  • Security scan (Checkov)
  • Plan tests (mocked: validation rules · outputs)

Provenance

  • SHA-256 checksum
  • Signature (pending)

Functional

  • Live-tested — applied, verified, destroyed

Last verified 2026-06-30 · how we verify

Documentation

azure-event-hubs

An Event Hubs namespace plus one or more event hubs, each with its own consumer groups and optional least-privilege SAS authorization rules — the Azure-native way to ingest high-throughput event/telemetry streams (Kafka- compatible). Secure by default: TLS 1.2 floor, optional default-deny network rulesets with trusted-service bypass, optional managed identity, and per-hub authorization rules so application clients never need the namespace root key. Consumes an existing resource group. Works with Terraform and OpenTofu (>= 1.6), azurerm provider >= 4.0, < 5.0.

SKU caveats

  • Basic has no extra consumer groups (only $Default), no auto-inflate and caps retention at 1 day — use Standard for anything real.
  • partition_count is immutable on Basic/Standard after creation; size it up front. Premium/dedicated allow scaling partitions out.
  • auto_inflate_enabled requires maximum_throughput_units (enforced at plan time) and is Standard-only.

Requirements

RequirementVersion
Terraform / OpenTofu>= 1.6
hashicorp/azurerm>= 4.0, < 5.0

Verification

Static-validated (fmt, validate, tflint). Live apply/destroy testing pending cloud sandbox availability — see catalog status.

License

Commercial — IaC Bazaar EULA. © IaC Bazaar. Original work (not derived from a third-party module).

Usage code & full reference unlock after purchase

The complete copy-paste usage, the full input/output reference, and operational notes ship with your licence — shown here and bundled in the download.

  • Usage
  • Inputs
  • Outputs
  • Security notes