resource "azurerm_servicebus_subscription" "${MyResource}" {
         name = "testSubscription"
         resource_group_name = "\${azurerm_resource_group.test.name}"
         namespace_name = "\${azurerm_servicebus_namespace.test.name}"
         topic_name = "\${azurerm_servicebus_topic.test.name}"
         location = "West US"
      }
      Terraform language logo

      azurerm_servicebus_subscription

      Terraform snippets

      The code creates a subscription to the service bus in the West US region. The name of the subscription is testSubscription and the namespace and topicname are both set to test. The location is also set to West US.

      Shortcut: tf_azurerm_servicebus_subscription

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.