mirror of
https://github.com/2martens/terraform.git
synced 2026-10-17 16:06:52 +02:00
Force recreate on user data change
This commit is contained in:
@@ -122,7 +122,7 @@ resource "hcloud_server" "manager" {
|
|||||||
}
|
}
|
||||||
|
|
||||||
lifecycle {
|
lifecycle {
|
||||||
ignore_changes = [ssh_keys, user_data]
|
ignore_changes = [ssh_keys]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -101,7 +101,7 @@ resource "hcloud_server" "worker" {
|
|||||||
}
|
}
|
||||||
|
|
||||||
lifecycle {
|
lifecycle {
|
||||||
ignore_changes = [ssh_keys, user_data]
|
ignore_changes = [ssh_keys]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user