aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Triguba <hello@eugenetriguba.com>2026-10-20 20:16:50 -0700
committerEugene Triguba <hello@eugenetriguba.com>2026-10-20 20:17:40 -0700
commit745e66a190fbc6b681dda7d00a3dd2dde326464f (patch)
tree1271a6a567fb47b7d0dd848211195c5489c99383
parentUpdate hetzner web to use new openbsd 8.0 snapshot (diff)
downloadsite-infra-745e66a190fbc6b681dda7d00a3dd2dde326464f.zip
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.
-rw-r--r--hetzner-web/main.tf3
1 files changed, 3 insertions, 0 deletions
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]
+ }
}