Fix vm lifecycle change triggers
This commit is contained in:
@@ -33,13 +33,10 @@ resource "proxmox_virtual_environment_vm" "this" {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
audio_device {
|
audio_device {
|
||||||
device = "intel-hda"
|
|
||||||
driver = "spice"
|
|
||||||
enabled = false
|
enabled = false
|
||||||
}
|
}
|
||||||
bios = "ovmf"
|
bios = "ovmf"
|
||||||
cpu {
|
cpu {
|
||||||
# architecture = "x86_64"
|
|
||||||
cores = 1
|
cores = 1
|
||||||
flags = ["+aes"]
|
flags = ["+aes"]
|
||||||
hotplugged = 0
|
hotplugged = 0
|
||||||
@@ -159,4 +156,11 @@ resource "proxmox_virtual_environment_vm" "this" {
|
|||||||
action = "reset"
|
action = "reset"
|
||||||
model = "i6300esb"
|
model = "i6300esb"
|
||||||
}
|
}
|
||||||
|
lifecycle {
|
||||||
|
ignore_changes = [
|
||||||
|
initialization["user_account"],
|
||||||
|
audio_device["device"],
|
||||||
|
audio_device["driver"]
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user