azurerm_firewall_policy_rule_collection_group validation bug with ip ranges in "source_addresses" #21534
Closed
1 task done
Labels
Milestone
Is there an existing issue for this?
Community Note
Terraform Version
1.4.2
AzureRM Provider Version
3.52.0
Affected Resource(s)/Data Source(s)
azurerm_firewall_policy_rule_collection_group
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
"source_addresses" should work the same as "destination_addresses", which allows for ip ranges with hyphens...
Actual Behaviour
Error: expected network_rule_collection.0.rule.15.source_addresses.0 to contain a valid IP, got: 10.0.0.5-10.0.0.7
Steps to Reproduce
terraform plan / terraform apply
(This bug only affects the 'source_addresses' field, ip ranges with hyphens works fine in 'destination_addresses'.(ip ranges with hyphens are valid in azure firewall policy network rules))
Important Factoids
No response
References
No response
The text was updated successfully, but these errors were encountered: