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"
}
azurerm_servicebus_subscription
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