fix: add lifecycle section for idempotency

This commit is contained in:
Vezpi 2025-05-28 07:40:41 +00:00
parent 22f6403417
commit 29a0d32870

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