All checks were successful
Terraform Plan / Terraform Plan (push) Successful in 17s
- 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
14 lines
351 B
HCL
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"
|
|
}
|