azurerm_eventhub

    0

    0

    lucycodes42

    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

    resource "azurerm_eventhub" "${MyResource}" {
       name                = "acceptanceTestEventHub"
       namespace_name      = "\${azurerm_eventhub_namespace.test.name}"
       location            = "\${azurerm_resource_group.test.location}"
       resource_group_name = "\${azurerm_resource_group.test.name}"
       partition_count     = 2
       message_retention   = 2
    }
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    Legal
    • Security
    • Privacy Policy
    • Code Privacy
    • Terms of Service
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.