As a DevOps, I want to be able to manage Service Bus Geo-Replication Pairings using terraform so that I don't have to automate it using PowerShell/Azure CLI. Service Bus Geo-Replication Pairings provide Geo-disaster recovery for Service Bus.
resource "azurerm_servicebus_namespace_pairing" "pairing" {
name = "service-bus-alias"
resource_group = "<resource_group_name>"
location = "<region>"
primary_service_bus_namespace = "service-bus-primary"
secondary_service_bus_namespace = "service-bus-secondary"
}
data "azurerm_servicebus_namespace_pairing" "pairing" {
name = "service-bus-alias"
resource_group = "<resource_group_name>"
}
output "service_bus_alias_primary_key" {
value = "${data.azurerm_servicebus_namespace_pairing.pairing.primary_key}"
}
output "service_bus_alias_primary_connection_string" {
value = "${data.azurerm_servicebus_namespace_pairing.pairing.primary_connection_string}"
}
output "service_bus_alias_secondary_key" {
value = "${data.azurerm_servicebus_namespace_pairing.pairing.secondary_key}"
}
output "service_bus_alias_secondary_connection_string" {
value = "${data.azurerm_servicebus_namespace_pairing.pairing.secondary_connection_string}"
}
Any estimates on when this might get implemented?
Any ideas to perform this pairing with actual resources?
Is this feature to use terraform to configure Azure Service Bus Pairing available or we have to use the portal still to configure DR for ASB ?
Any updates so far?
Most helpful comment
Any estimates on when this might get implemented?