From 745e66a190fbc6b681dda7d00a3dd2dde326464f Mon Sep 17 00:00:00 2001 From: Eugene Triguba Date: Tue, 20 Oct 2026 20:16:50 -0700 Subject: Ignore changes to the image for the web server We can easily upgrade a live host with `sysupgrade -R` and not need to go through the hassle of re-setting it up with re-running the ansible playbooks + restoring the git data from a backup. So, I don't want to be replacing existing hosts when updating the image. --- hetzner-web/main.tf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hetzner-web/main.tf b/hetzner-web/main.tf index 64790a7..a1804bd 100644 --- a/hetzner-web/main.tf +++ b/hetzner-web/main.tf @@ -8,4 +8,7 @@ resource "hcloud_server" "web01" { ipv4_enabled = true ipv6_enabled = true } + lifecycle { + ignore_changes = [image] + } } -- cgit v1.2.3