-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Settings: azurerm_eventhub_namespace - Firewalls and Virtual Networks #2579
Comments
Since ability to manage eventhub namespace firewall and virtual network rules from Terraform is not supported yet (hashicorp/terraform-provider-azurerm#2579) we need to use ARM templates. Another challenge - azurerm_template_deployment fails to pass "array" type parameters properly with error Error: azurerm_template_deployment.eventhub: parameters (subnetIds): '' expected type 'string', got unconvertible type '[]interface {}’ (hashicorp/terraform-provider-azurerm#2579 closed but doesn’t seem resolved) Related work items: #47
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
While we are waiting for this resource to be supported in Terraform, here's the way to do it with ARM deployment. First using
And the deployment titself would look like this:
|
This is supported since v1.35.0 |
Looks like it's fixed now in https://github.com/terraform-providers/terraform-provider-azurerm/releases/tag/v2.0.0 |
@midacts: I believe this is implemented already and this issue can be closed now. See https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/eventhub_namespace |
Since this issue seems to have been addressed in the latest versions of the provider - I'm going to close it. Please open a new updated bug report if this is still relevant. Thank you. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Community Note
Description
Please add the ability to manage eventhub namespace firewall and virtual network rules from Terraform.
New or Affected Resource(s)
Potential Terraform Configuration
References
The text was updated successfully, but these errors were encountered: