diff --git a/proxmox.tf b/proxmox.tf index 0430dfa..283c45b 100644 --- a/proxmox.tf +++ b/proxmox.tf @@ -79,7 +79,7 @@ resource "proxmox_virtual_environment_file" "vm_user_data" { content_type = "snippets" source_raw { file_name = "cloud-init-iac-k8s-${each.key}.yaml" - data = templatefile("${path.module}/cloud-init-wrapper.yaml.tpl", { + data = templatefile("${path.module}/cloud-init-wrapper.yaml.tftpl", { content = data.external.merged_yaml[each.key].result["merged_yaml"] }) }