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
I am having issues with adding an HA load balancer rule to an azurerm_lb_rule resource. I am leveraging All as the Protocol with the back_end and front_end port set to zero. I had this issue after upgrading my azurerm provider to V1.13.0. This exact same snippet worked previously. It seems like the validator may have changed.
Downgrading to the following code allows the snippet to work as expected:
Terraform v0.11.8
Error: azurerm_lb_rule.AZE1-HUB-LB1HaRule: "backend_port" is not a valid port number: '\x00'
Error: azurerm_lb_rule.AZE1-HUB-LB1HaRule: "frontend_port" is not a valid port number: '\x00'
Steps to Reproduce
`terraform apply or terraform plan'
Important Factoids
Running in Azure East
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 👉 [email protected]. Thanks!
ghost
locked and limited conversation to collaborators
Mar 6, 2019
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Community Note
I am having issues with adding an HA load balancer rule to an azurerm_lb_rule resource. I am leveraging All as the Protocol with the back_end and front_end port set to zero. I had this issue after upgrading my azurerm provider to V1.13.0. This exact same snippet worked previously. It seems like the validator may have changed.
Downgrading to the following code allows the snippet to work as expected:
Terraform v0.11.8
Terraform Version
Terraform v0.11.8
Affected Resource(s)
azurerm_lb_rule
Terraform Configuration Files
Debug Output
Panic Output
Expected Behavior
id:
backend_address_pool_id: "${azurerm_lb_backend_address_pool.HUB-LB1-IpPool.id}"
backend_port: "0"
enable_floating_ip: "false"
frontend_ip_configuration_id:
frontend_ip_configuration_name: "${lookup(azurerm_lb.HUB-LB1.frontend_ip_configuration[0],"name")}"
frontend_port: "0"
idle_timeout_in_minutes:
load_distribution:
loadbalancer_id: "${azurerm_lb.HUB-LB1.id}"
name: "HUB-LB1HaRule"
probe_id: "${azurerm_lb_probe.HUB-LB1-Probe.id}"
protocol: "all"
resource_group_name: "HUB-RG"
Actual Behavior
Error: azurerm_lb_rule.AZE1-HUB-LB1HaRule: "backend_port" is not a valid port number: '\x00'
Error: azurerm_lb_rule.AZE1-HUB-LB1HaRule: "frontend_port" is not a valid port number: '\x00'
Steps to Reproduce
Important Factoids
Running in Azure East
References
The text was updated successfully, but these errors were encountered: