resource "azurerm_eventhub" "${MyResource}" {
         name                = "acceptanceTestEventHub"
         namespace_name      = "\${}"
         location            = "\${azurerm_resource_group.test.location}"
         resource_group_name = "\${}"
         partition_count     = 2
         message_retention   = 2
      Terraform language logo


      Terraform snippets

      The code defines an Azure Event Hub named "acceptanceTestEventHub" in the test namespace. The event hub is located in the resource group "test" and its two partitions have a combined count of 2. The event hub will store messages for 2 days before deleting them.

      Shortcut: tf_azurerm_eventhub


        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.