You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# 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/hashicorpresource"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
terraform apply
Important Factoids
References
#0000
The text was updated successfully, but these errors were encountered:
Update:
When I included the field alternate_name = "${var.myname}-disaster-recovery", it worked!
Even though it's not mentioned in the docs. @tombuildsstuff
azurerm_eventhub_namespace_disaster_recovery_config is missing field AlternateName but there is no place to mention it.
Community Note
Terraform (and AzureRM Provider) Version
Affected Resource(s)
azurerm_eventhub_namespace_disaster_recovery_config
Terraform Configuration Files
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
terraform apply
Important Factoids
References
The text was updated successfully, but these errors were encountered: