azurerm_eventhub_namespace shows changes when there are none on network_rulesets when we provide the rule set through a list #8524
Labels
bug
service/event-hubs
EventHubs
upstream/microsoft
Indicates that there's an upstream issue blocking this issue/PR
Milestone
Community Note
Terraform (and AzureRM Provider) Version
Terraform v0.13.2
azurerm v2.26.0
azuread v1.0.0
Affected Resource(s)
azurerm_eventhub_namespace
Terraform Configuration Files
Debug Output
Panic Output
Expected Behavior
When we do the successful 'Terraform apply' for the above eventhub for the first time it creates the eventhub namespace with the given network rule sets. When we run the exact configs and run a terraform plan after the apply, and it should show zero changes
Actual Behavior
When we do the 'Terraform apply' for the above eventhub for the first time it creates the eventhub namespace with the given network rulesets. When we run the exact configs and run a terraform plan after the apply, it shows as 1 resource to update and shows the output as below
Steps to Reproduce
2
terraform apply
this config and create the eventhub namespace with the network_rulesets3 Run a
terraform plan
and it shows there is 1 resource to change and shows and update to the network_rulesets in the eventhub namespaceImportant Factoids
PLEASE NOTE THIS ISSUE SEEMS TO EFFECT ONLY ON CERTAIN EVENTHUB NAMESPACES. WE HAVE CREATED 6 EVENTHUB NAMESPACES THROUGH THE SAME CONFIG AND WE OBSERVE THE ISSUE ONLY ON 3 OF THOSE NAMESPACES.
References
The text was updated successfully, but these errors were encountered: