No description
  • HCL 89%
  • Shell 11%
Find a file
2026-03-14 18:52:43 -04:00
.git-crypt Add 1 git-crypt collaborator 2026-03-14 17:18:44 -04:00
docs chore: initial infra repo split 2026-03-14 16:25:17 -04:00
.gitattributes Update secrets 2026-03-14 17:49:21 -04:00
.gitignore chore: initial infra repo split 2026-03-14 16:25:17 -04:00
backend.tf chore: initial infra repo split 2026-03-14 16:25:17 -04:00
outputs.tf chore: initial infra repo split 2026-03-14 16:25:17 -04:00
provider.tf chore: initial infra repo split 2026-03-14 16:25:17 -04:00
README.md chore: initial infra repo split 2026-03-14 16:25:17 -04:00
talos-init-cluster.sh chore: initial infra repo split 2026-03-14 16:25:17 -04:00
talos-vms.tf chore: initial infra repo split 2026-03-14 16:25:17 -04:00
terraform.tfvars secrets update 2026-03-14 18:52:43 -04:00
terraform.tfvars.example Update secrets 2026-03-14 17:49:21 -04:00
variables.tf chore: initial infra repo split 2026-03-14 16:25:17 -04:00
versions.tf chore: initial infra repo split 2026-03-14 16:25:17 -04:00

Talos VM Infrastructure (Terraform)

Provision only Proxmox VMs for Talos control-plane and workers.

Why this folder exists

/home/gabriel/git_projects/homelab7/infra is the state/secrets boundary for the whole bootstrap process:

  • Terraform state for VM provisioning: terraform.tfstate, terraform.tfstate.backup.
  • Terraform state for cluster bootstrap services: terraform-bootstrap.tfstate, terraform-bootstrap.tfstate.backup.
  • All sensitive runtime inputs (terraform.tfvars and terraform-bootstrap.tfvars) are stored here.
  • This lets you recreate VM infrastructure and in-cluster bootstrap independently, while keeping all environment secrets/state in one folder for replication.

Quick start

cd /home/gabriel/git_projects/homelab7/infra
cp terraform.tfvars.example terraform.tfvars
terraform init
terraform apply

Outputs:

  • control_plane_ips
  • worker_ips
  • vm_ids

Next steps after provisioning

After VMs are up, run Talos bootstrap from the same folder:

./talos-init-cluster.sh