Files
TerraHome/terraform/cloud-init.tf
MichaelFisher1997 e714a56980
All checks were successful
Terraform Plan / Terraform Plan (push) Successful in 17s
update: switch Terraform to NixOS template workflow
- Point clone_template to nixos-template and trim cloud-init to Nix-safe hostname/DNS only
- Remove SSH/Tailscale cloud-init variables and workflow secret dependencies
- Add reusable NixOS template-base config with bootloader, Tailscale, fish, and utility packages
2026-02-28 00:06:25 +00:00

14 lines
351 B
HCL

data "template_file" "cloud_init_global" {
template = file("${path.module}/files/cloud_init_global.tpl")
vars = {
hostname = "generic"
domain = "home.arpa"
}
}
resource "local_file" "cloud_init_global" {
content = data.template_file.cloud_init_global.rendered
filename = "${path.module}/files/rendered/cloud_init_global.yaml"
}