Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion opentofu/modules/vultr/block_storage/main.tofu
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions opentofu/modules/vultr/instance/userdata/ghost.bu
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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

Expand Down