-
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
azurerm_firewall_policy_rule_collection_group destination_ports argument does not support "*" #10918
Comments
I have already tried this but have the strange behavior: When set to 1-65535 my ping to a destination behind FW does not work. As soon as I change the ports to "*" within Azure Portal my ping command works. So I guess there is something different behind the scenes. At least for ICMP protocol. |
Any updates on this? I too have confirmed that using a port range of 1-65535 does not work for Azure Firewall Policy Manager rule collections. |
ping and traceroute are reply on ICMP, and ICMP is a protocol on network layer which doesnt have the concept of port To me, port should be ignored (by using "*") for ICMP traffic. |
https://docs.microsoft.com/de-de/azure/firewall/rule-processing#network-rule-protocol
That means, If a rule has port like |
This has been released in version 2.56.0 of the provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. As an example: provider "azurerm" {
version = "~> 2.56.0"
}
# ... other configuration ... |
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. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks! |
Community Note
Terraform (and AzureRM Provider) Version
terraform 0.13.5
azurerm 2.49.0
Affected Resource(s)
azurerm_firewall_policy_rule_collection_group
Terraform Configuration Files
Debug Output
Panic Output
Expected Behaviour
Apply the configuration.
Actual Behaviour
An error results when using "*" as a destination_ports argument. An asterisk is a valid destination_port argument when using the Azure Portal.
Error: invalid format of "network_rule_collection.0.rule.0.destination_ports.0"
Steps to Reproduce
terraform apply
Important Factoids
References
The text was updated successfully, but these errors were encountered: