From 8e8717143e63c7b0368b8acbbefc075709fe0a3d Mon Sep 17 00:00:00 2001 From: Michael Balsillie Date: Tue, 8 Sep 2026 16:57:19 -0400 Subject: [PATCH] Fix vm lifecycle change triggers --- proxmox/archlinux/resources_proxmox.tf | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/proxmox/archlinux/resources_proxmox.tf b/proxmox/archlinux/resources_proxmox.tf index 0c0bf6a..0881ac2 100644 --- a/proxmox/archlinux/resources_proxmox.tf +++ b/proxmox/archlinux/resources_proxmox.tf @@ -33,13 +33,10 @@ resource "proxmox_virtual_environment_vm" "this" { } } audio_device { - device = "intel-hda" - driver = "spice" enabled = false } bios = "ovmf" cpu { - # architecture = "x86_64" cores = 1 flags = ["+aes"] hotplugged = 0 @@ -159,4 +156,11 @@ resource "proxmox_virtual_environment_vm" "this" { action = "reset" model = "i6300esb" } + lifecycle { + ignore_changes = [ + initialization["user_account"], + audio_device["device"], + audio_device["driver"] + ] + } }