Update proxmox.tf

This commit is contained in:
2025-08-27 11:33:36 +00:00
parent 8e40b70b0f
commit 3ae0671e6d

View File

@ -38,7 +38,12 @@ resource "proxmox_virtual_environment_file" "cloud_init_yaml" {
locals {
rendered_yaml_per_vm ={
for vm in var.proxmox_k8s_vms : vm.name =>
templatefile("${path.module}/cloud-init-vm.yaml.tftpl", vm)
templatefile("${path.module}/cloud-init-vm.yaml.tftpl",
{
each = {
value = vm
}
})
}
}