Files
terraform-talos/proxmox/common.tf
2023-05-07 14:41:33 +03:00

14 lines
372 B
HCL

resource "local_file" "worker_patch" {
content = templatefile("${path.module}/templates/worker.patch.yaml.tpl",
merge(var.kubernetes, {
lbv4 = local.ipv4_vip
nodeSubnets = var.vpc_main_cidr
labels = "project.io/node-pool=worker"
})
)
filename = "${path.module}/templates/worker.patch.yaml"
file_permission = "0600"
}