Skip to content

Commit

Permalink
fix: Allow to change Public IP for an LB Frontend (#77)
Browse files Browse the repository at this point in the history
  • Loading branch information
acelebanski authored Jul 24, 2024
1 parent b1059a8 commit 6754797
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 @@ -41,6 +41,10 @@ resource "azurerm_public_ip" "this" {
sku = "Standard"
zones = var.zones
tags = var.tags

lifecycle {
create_before_destroy = true
}
}

# https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/data-sources/public_ip
Expand Down

0 comments on commit 6754797

Please sign in to comment.