mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-05-02 06:16:08 -04:00
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:
parent
2660c1aa87
commit
c2849f4bbe
1 changed files with 4 additions and 0 deletions
|
@ -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" {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue