cli: ignore name changes on lb public ip resource (#2117)

Changing the name forces a recreate, which would break existing clusters.
The name change seems to be "only" about having clearer names.
This commit is contained in:
Otto Bittner 2023-07-19 10:15:23 +02:00
parent b635da82e1
commit 5722327d88

View File

@ -77,6 +77,10 @@ resource "azurerm_public_ip" "loadbalancer_ip" {
allocation_method = "Static"
sku = "Standard"
tags = local.tags
lifecycle {
ignore_changes = [name]
}
}
resource "azurerm_public_ip" "nat_gateway_ip" {