Skip to content

fix: unblock the live apply (SSH key ID drift, Volume tier on the storage pull zone) - #57

Merged
mortik merged 2 commits into
mainfrom
fix/servers-ignore-ssh-key-changes
Nov 17, 2026
Merged

mortik merged 2 commits into
mainfrom
fix/servers-ignore-ssh-key-changes

Conversation

@mortik

@mortik mortik commented Nov 17, 2026

Copy link
Copy Markdown
Member

Two pieces of live drift that would otherwise ride along with the next live apply (the one creating the Bunny uploads zone from #54).

What changed

  • Ignore ssh_keys changes on existing servers. The servers look their SSH key up by name (SSH Red-Kite). In the live Hetzner project that key now has a new ID (110180213 → 113796728), so the live plan wanted to replace all three servers (ssh_keys forces replacement). The deploy pipeline would have blocked it, but live could not apply at all. Like user_data, the key only matters when a server is created; new servers still get the current one.
  • storage_routing_tier in env_config (optional(string, "Standard"), validated), with live on Volume. fltyrd-live-storage runs on Bunny's Volume network, set outside Terraform; an apply would have switched it back to Standard. Stage and both cdn zones are on Standard and stay there.

Verification

After this merges, gh workflow run deploy.yml -f target=live applies the above.

🤖

The servers look their SSH key up by name. Re-adding that key in the
Hetzner console gives it a new ID, and since a changed ssh_keys replaces a
server, the live plan wanted to replace all three. Like user_data, the
key only matters when a server is created.
The live storage pull zone was moved to Bunny's cheaper Volume network
outside Terraform, and an apply would have switched it back to Standard.
storage_routing_tier in env_config now carries it, defaulting to
Standard, with live set to Volume.
@mortik mortik self-assigned this Nov 17, 2026
@mortik
mortik added this pull request to the merge queue Nov 17, 2026
Merged via the queue into main with commit 7a7eda8 Nov 17, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant