0
0
llucycodes42
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
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"
}