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
Terraform should detect the destination_port_ranges field as invalid
Actual Behavior
Terraform doesn't detect the destination_port_ranges field as invalid and fails with the following API error:
* azurerm_network_security_group.ldap_nsg: Error creating/updating NSG "smenatest_nsg" (Resource Group "smenatest"): network.SecurityGroupsClient#CreateOrUpdate: Failure sending request: StatusCode=400 -- Original Error: Code="SecurityRuleInvalidPortRange" Message="Security rule has invalid Port range. Value provided: 636, 389. Value should be an integer OR integer range with '-' delimiter. Valid range 0-65535." Details=[]
@tombuildsstuff
Still not works in terraform 0.12, azurerm provider 1.39.0 Code="SecurityRuleInvalidPortRange" Message="Security rule has invalid Port range. Value provided: 80,443. Value should be an integer OR integer range with '-' delimiter.
I would not consider this an enhancement, but is a feature defect. The provider allows single and multiple values for example: 80,443,8888-8889 in the field. Any eta on a resolution as I am having this issue as well?
Community Note
Affected Resource(s)
Terraform Configuration Files
Expected Behavior
Terraform should detect the
destination_port_ranges
field as invalidActual Behavior
Terraform doesn't detect the
destination_port_ranges
field as invalid and fails with the following API error:Steps to Reproduce
terraform apply
References
The text was updated successfully, but these errors were encountered: