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 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