Azure Messaging Cluster

This page shows how to write Terraform and Azure Resource Manager for Messaging Cluster and write them securely.

azurerm_eventhub_cluster (Terraform)

The Cluster in Messaging can be configured in Terraform with the resource name azurerm_eventhub_cluster. The following sections describe 1 example of how to use the resource and its parameters.

Example Usage from GitHub
resource "azurerm_eventhub_cluster" "cluster" {
  name                =
  resource_group_name =
  location            = var.location != null ? var.location : data.azurerm_resource_group.rg.location
  sku_name            = "Dedicated_1"
  tags                = var.tags

Review your Terraform file for Azure best practices

Shisho Cloud, our free checker to make sure your Terraform configuration follows best practices, is available (beta).


Explanation in Terraform Registry

Manages an EventHub Cluster

Microsoft.EventHub/clusters (Azure Resource Manager)

The clusters in Microsoft.EventHub can be configured in Azure Resource Manager with the resource name Microsoft.EventHub/clusters. The following sections describe how to use the resource and its parameters.

Example Usage from GitHub

An example could not be found in GitHub.


  • apiVersion required - string
  • location optional - string

    Resource location.

  • name required - string

    The name of the Event Hubs Cluster.

  • properties required
    • sku optional
        • capacity optional - integer

          The quantity of Event Hubs Cluster Capacity Units contained in this cluster.

        • name required - string

          Name of this SKU.

    • tags optional - string

      Resource tags.

    • type required - string

    Frequently asked questions

    What is Azure Messaging Cluster?

    Azure Messaging Cluster is a resource for Messaging of Microsoft Azure. Settings can be wrote in Terraform.

    Where can I find the example code for the Azure Messaging Cluster?

    For Terraform, the rafaelvelosoAZ/NewOne source code example is useful. See the Terraform Example section for further details.