# Documentation Bug

**URL:** <https://discuss.hashicorp.com/t/documentation-bug/27786>\
**Category:** Azure\
**Tags:** azure\
**Created:** [August 4, 2021, 3:10pm UTC](https://discuss.hashicorp.com/t/documentation-bug/27786 "2021-08-04T15:10:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fazer1987](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/fazer1987/32/3105_2.png) [@Fazer1987](https://discuss.hashicorp.com/u/Fazer1987)\
**Post date:** [August 4, 2021, 3:10pm UTC](https://discuss.hashicorp.com/t/documentation-bug/27786/1 "2021-08-04T15:10:57Z")

</div>

Hi all,

First off - apologies - I’ve no idea how I’m _supposed_ to go about raising these issues.

I’ve just found what I believe to be an issue in the documentation for the azurerm provider when creating Service Bus Namespace DR Config.

In this URL: [https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/servicebus\_namespace\_disaster\_recovery\_config](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/servicebus_namespace_disaster_recovery_config)

There is the following in the example:

```auto
resource "azurerm_servicebus_namespace_disaster_recovery_config" "example" {
  name = "servicebus-alias-name"
  primary_namespace_id = azurerm_servicebus_namespace.primary.id
  partner_namespace_id = azurerm_resource_group.secondary.id
}

```

I believe that the partner namespace `azurerm_resource_group` should actually be `azurerm_servicebus_namespace`

This is backed up by the documentation later on which states that `partner_namespace_id` is

> The ID of the Service Bus Namespace to replicate to.

How do I go about raising this to have the resource type identifier corrected in the documentation? I noticed because (like a lot of people) - I copied, pasted and updated the example and then saw it blow up on a tf plan.
