feat(terraform): linode-dr workspace (the DR target once production is on OVH) #190
Loading…
Reference in a new issue
No description provided.
Delete branch "jfraeys/feat/linode-dr-workspace"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Part of #187 (phase 6): production moves to OVH, so DR flips to Linode. This adds the Terraform half:
linode-drcounts as DR (is_drin locals.tf: no automatic DNS, environment=dr), the Linode module puts its nodes in the destroyable resource (no prevent_destroy, prod-identical names, vault root password, no staging image),terraform/environments/linode/dr.example.tfvars, and thesetuphelp line. The existinglinodeand*-stagingworkspaces take the same code paths as before (is_ephemeralis false forlinode, sonodes_prodkeeps its for_each), but please run./infra planafter merging and confirm production still shows no changes.tofu validatepasses.Not in this PR (phase 6, after the migration):
inventory/dr_generated.ymlstill reads theovh-drworkspace,docs/runbooks/datacenter-failover.mdis still written Linode -> OVH, and the backup primary/secondary flip.🤖 Generated with Claude Code
https://claude.ai/code/session_01Ge5tovcwdEUBtPwUktsZZZ