Merge pull request 'Update proxmox.tf' (#165) from fenix-admin into main

Reviewed-on: fenix-gitea-admin/iac-teste#165
This commit is contained in:
2025-08-27 08:15:12 +00:00

View File

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