From dd84131fd82f183c83e9b40cddf675770f571bb0 Mon Sep 17 00:00:00 2001 From: Noah White Date: Fri, 30 Jan 2026 04:47:49 +0000 Subject: [PATCH 1/2] Fix Tailscale sysext: update to v1.94.1 (v1.88.3 removed from server) - Update Tailscale sysext from v1.88.3 to v1.94.1 - Old version returned 404, causing Ignition failure --- opentofu/modules/vultr/instance/userdata/ghost.bu | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/opentofu/modules/vultr/instance/userdata/ghost.bu b/opentofu/modules/vultr/instance/userdata/ghost.bu index 99351cc..d2434d2 100644 --- a/opentofu/modules/vultr/instance/userdata/ghost.bu +++ b/opentofu/modules/vultr/instance/userdata/ghost.bu @@ -69,12 +69,12 @@ storage: # # Note: Auto-updates are enabled via systemd-sysupdate (see dropin below) # ========================================================================== - - path: /opt/extensions/tailscale/tailscale-v1.88.3-x86-64.raw + - path: /opt/extensions/tailscale/tailscale-v1.94.1-x86-64.raw mode: 0644 contents: - source: https://extensions.flatcar.org/extensions/tailscale-v1.88.3-x86-64.raw + source: https://extensions.flatcar.org/extensions/tailscale-v1.94.1-x86-64.raw verification: - hash: sha256-27caa1ce3012a1a7721157550247dc0828669638a06ac44d62baee0b1b4d6541 + hash: sha256-4fac074559d01328d0c59e030170821d22332a3ebd19087c135959f11feafaa1 - path: /etc/sysupdate.tailscale.d/tailscale.conf contents: @@ -91,7 +91,7 @@ storage: hard: false # Symlink must be updated when changing Tailscale version (path above) - - target: /opt/extensions/tailscale/tailscale-v1.88.3-x86-64.raw + - target: /opt/extensions/tailscale/tailscale-v1.94.1-x86-64.raw path: /etc/extensions/tailscale.raw hard: false From bd95cee452e61967db5d5d280469eb02faee5e48 Mon Sep 17 00:00:00 2001 From: Noah White Date: Fri, 30 Jan 2026 04:52:28 +0000 Subject: [PATCH 2/2] Remove count from null_resource (value unknown at plan time) The count depended on instance_id which is unknown when the instance is being recreated. Since we always pass an instance ID, the count is not needed - triggers will handle re-running on instance change. --- opentofu/modules/vultr/block_storage/main.tofu | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/opentofu/modules/vultr/block_storage/main.tofu b/opentofu/modules/vultr/block_storage/main.tofu index 646db9a..bf2b596 100644 --- a/opentofu/modules/vultr/block_storage/main.tofu +++ b/opentofu/modules/vultr/block_storage/main.tofu @@ -33,7 +33,8 @@ resource "vultr_block_storage" "this" { # This null_resource uses the Vultr CLI to handle attachment. # It inherits VULTR_API_KEY from the environment (set via TF_VAR_vultr_api_key in CI). resource "null_resource" "attach_block_storage" { - count = var.mount_instance_id != null ? 1 : 0 + # Note: count removed because it cannot depend on values unknown at plan time + # (instance_id is unknown when instance is being recreated) triggers = { instance_id = var.mount_instance_id