diff options
| author | Eugene Triguba <hello@eugenetriguba.com> | 2026-10-20 20:16:50 -0700 |
|---|---|---|
| committer | Eugene Triguba <hello@eugenetriguba.com> | 2026-10-20 20:17:40 -0700 |
| commit | 745e66a190fbc6b681dda7d00a3dd2dde326464f (patch) | |
| tree | 1271a6a567fb47b7d0dd848211195c5489c99383 /hetzner-web | |
| parent | Update hetzner web to use new openbsd 8.0 snapshot (diff) | |
| download | site-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.
Diffstat (limited to 'hetzner-web')
| -rw-r--r-- | hetzner-web/main.tf | 3 |
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] + } } |