Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

azurerm_eventhub_namespace_disaster_recovery_config is missing field AlternateName #4763

Open
ahmedspiir opened this issue Oct 30, 2019 · 1 comment

Comments

@ahmedspiir
Copy link

azurerm_eventhub_namespace_disaster_recovery_config is missing field AlternateName but there is no place to mention it.

Community Note

  • Please vote on this issue by adding a 馃憤 reaction to the original issue to help the community 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

Terraform (and AzureRM Provider) Version

Affected Resource(s)

  • azurerm_eventhub_namespace_disaster_recovery_config

Terraform Configuration Files

# Copy-paste your Terraform configurations here - for large Terraform configs,
# please use a service like Dropbox and share a link to the ZIP file. For
# security, you can also encrypt the files using our GPG public key: https://keybase.io/hashicorp
resource "azurerm_eventhub_namespace_disaster_recovery_config" "example" {
  name                 = "replicate-evenhub"
  resource_group_name  = "${azurerm_resource_group.example.name}"
  namespace_name       = "${azurerm_eventhub_namespace.primary.name}"
  partner_namespace_id = "${azurerm_eventhub_namespace.secondary.id}"
}

Debug Output

Panic Output

Expected Behavior

To work

Actual Behavior

Error: Error creating/updating EventHub Namespace Disaster Recovery Configs "events-test-ne" (Namespace "events-test-ne" / Resource Group "events-test-ne"): eventhub.DisasterRecoveryConfigsClient#CreateOrUpdate: Failure responding to request: StatusCode=400 -- Original Error: autorest/azure: Service returned an error. Status=400 Code="BadRequest" Message="Some arguments are missing from request url or body, argument: AlternateName. CorrelationId: XXXXXX"

Steps to Reproduce

  1. terraform apply

Important Factoids

References

  • #0000
@ahmedspiir
Copy link
Author

Update:
When I included the field alternate_name = "${var.myname}-disaster-recovery", it worked!
Even though it's not mentioned in the docs.
@tombuildsstuff

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants