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
Either skip existing rules or apply new rules as specified in the configuration file.
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. We have existing rules already configured via the Azure portal using asterisks for destination_ports.
Error: invalid format of "network_rule_collection.3.rule.0.destination_ports.0"
on main.tf line 37, in resource "azurerm_firewall_policy_rule_collection_group" "defaultgrouprules":
37: resource "azurerm_firewall_policy_rule_collection_group" "defaultgrouprules" {
or attempting to use "1-65535" port range instead
Error: port 65535 is out of range (0-64000)
on main.tf line 37, in resource "azurerm_firewall_policy_rule_collection_group" "defaultgrouprules":
37: resource "azurerm_firewall_policy_rule_collection_group" "defaultgrouprules" {
Steps to Reproduce
Run terraform apply using configuration above with "*" as an argument for destination_ports
Important Factoids
References
#0000
The text was updated successfully, but these errors were encountered:
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 👉 hashibot-feedback@hashicorp.com. Thanks!
ghost
locked as resolved and limited conversation to collaborators
Feb 3, 2021
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Community Note
Terraform (and AzureRM Provider) Version
terraform 0.13.5
azurerm 2.35.0
Affected Resource(s)
azurerm_firewall_policy_rule_collection_group
Terraform Configuration Files
Debug Output
Panic Output
Expected Behaviour
Either skip existing rules or apply new rules as specified in the configuration file.
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. We have existing rules already configured via the Azure portal using asterisks for destination_ports.
Error: invalid format of "network_rule_collection.3.rule.0.destination_ports.0"
on main.tf line 37, in resource "azurerm_firewall_policy_rule_collection_group" "defaultgrouprules":
37: resource "azurerm_firewall_policy_rule_collection_group" "defaultgrouprules" {
or attempting to use "1-65535" port range instead
Error: port 65535 is out of range (0-64000)
on main.tf line 37, in resource "azurerm_firewall_policy_rule_collection_group" "defaultgrouprules":
37: resource "azurerm_firewall_policy_rule_collection_group" "defaultgrouprules" {
Steps to Reproduce
Important Factoids
References
The text was updated successfully, but these errors were encountered: