Skip to content

Commit

Permalink
fix: Allow to change Health Probe for an LB Rule (#78)
Browse files Browse the repository at this point in the history
  • Loading branch information
acelebanski authored Jul 24, 2024
1 parent 6754797 commit a077fe0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions modules/loadbalancer/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,10 @@ resource "azurerm_lb_probe" "this" {
# this is to overcome the discrepancy between the provider and Azure defaults
# for more details see here -> https://learn.microsoft.com/en-gb/azure/load-balancer/whats-new#known-issues:~:text=SNAT%20port%20exhaustion-,numberOfProbes,-%2C%20%22Unhealthy%20threshold%22
number_of_probes = 1

lifecycle {
create_before_destroy = true
}
}

# https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/lb_rule
Expand Down

0 comments on commit a077fe0

Please sign in to comment.