Skip to content
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

[Bug]: azurerm_lb_rule does not honor pip_idle_timeout_in_minutes #65

Open
lorenzogherdovich opened this issue Oct 1, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@lorenzogherdovich
Copy link

Module Name

terraform-azurerm-loadbalancer

Description

In resource azurerm_lb_rule we have a fixed value (5) for idle_timeout_in_minutes.

Is it correct? How to set a specific value?

Code

resource "azurerm_lb_rule" "azlb" {
  count = length(var.lb_port)

  backend_port                   = element(var.lb_port[element(keys(var.lb_port), count.index)], 2)
  frontend_ip_configuration_name = var.frontend_name
  frontend_port                  = element(var.lb_port[element(keys(var.lb_port), count.index)], 0)
  loadbalancer_id                = azurerm_lb.azlb.id
  name                           = element(keys(var.lb_port), count.index)
  protocol                       = element(var.lb_port[element(keys(var.lb_port), count.index)], 1)
  backend_address_pool_ids       = [azurerm_lb_backend_address_pool.azlb.id]
  disable_outbound_snat          = var.disable_outbound_snat
  enable_floating_ip             = var.lb_floating_ip_enabled
  idle_timeout_in_minutes        = 5
  probe_id                       = element(azurerm_lb_probe.azlb[*].id, count.index)
}

Relevant log output

No response

What was your expected output?

No response

Other information

No response

@lorenzogherdovich lorenzogherdovich added the bug Something isn't working label Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant