Update proxmox.tf

This commit is contained in:
2025-08-27 08:14:14 +00:00
parent 3a09ab7222
commit db9e04b0d8

View File

@ -50,8 +50,8 @@ resource "proxmox_virtual_environment_file" "vm_user_data" {
local.deep_merge(
yamldecode(file("${path.module}/cloud-init-base.yaml")),
yamldecode(templatefile("${path.module}/cloud-init-vm.yaml.tftpl", {
extra_packages = try(each.value.extra_packages, [])
extra_users = try(each.value.extra_users, [])
extra_packages = try(each.value.extra_packages, []),
extra_users = try(each.value.extra_users, []),
extra_runcmd = try(each.value.extra_runcmd, [])
}))
)