Terraform-provider-azurerm: Feature request: Add resource for managing Service Bus Geo-Replication Pairing

Created on 28 Mar 2019  路  4Comments  路  Source: terraform-providers/terraform-provider-azurerm

Community Note

  • Please vote on this issue by adding a 馃憤 reaction to the original issue to help the community and maintainers prioritize this request and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

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.

New or Affected Resource(s)

Potential Terraform Configuration

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

References

enhancement new-resource servicservicebus

Most helpful comment

Any estimates on when this might get implemented?

All 4 comments

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?

Was this page helpful?
0 / 5 - 0 ratings