fix: add lifecycle section for idempotency

This commit is contained in:
Vezpi 2025-05-28 07:40:41 +00:00
parent e17e6be329
commit e9f084443d

View File

@ -94,6 +94,12 @@ resource "proxmox_virtual_environment_vm" "vm" {
vga {
type = "std" # Standard VGA type
}
lifecycle {
ignore_changes = [ # Ignore initialization section after first depoloyment for idempotency
initialization
]
}
}
# Output the assigned IP address of the VM after provisioning