Update proxmox.tf

This commit is contained in:
2025-08-27 08:41:44 +00:00
parent db9e04b0d8
commit 7e1682b967

View File

@ -52,8 +52,8 @@ resource "proxmox_virtual_environment_file" "vm_user_data" {
yamldecode(templatefile("${path.module}/cloud-init-vm.yaml.tftpl", {
extra_packages = try(each.value.extra_packages, []),
extra_users = try(each.value.extra_users, []),
extra_runcmd = try(each.value.extra_runcmd, [])
}))
extra_runcmd = try(each.value.extra_runcmd, []),
})) # 👈 Aqui fechavas o templatefile, mas o parêntesis do deep_merge ficava mal fechado
)
)
}