Fix vm lifecycle change triggers
This commit is contained in:
@@ -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"]
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user