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 committed by GitHub
parent 2660c1aa87
commit c2849f4bbe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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" {