From 3ae0671e6d9e9ca066f0ec920b953839c923bb42 Mon Sep 17 00:00:00 2001 From: fenix-gitea-admin Date: Wed, 27 Aug 2025 11:33:36 +0000 Subject: [PATCH] Update proxmox.tf --- proxmox.tf | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/proxmox.tf b/proxmox.tf index e0992ba..199e8cc 100644 --- a/proxmox.tf +++ b/proxmox.tf @@ -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 + } + }) } }