diff --git a/proxmox/resource_vm_qemu.go b/proxmox/resource_vm_qemu.go index 864c241..dfc7acd 100644 --- a/proxmox/resource_vm_qemu.go +++ b/proxmox/resource_vm_qemu.go @@ -161,6 +161,12 @@ func resourceVmQemu() *schema.Resource { Type: schema.TypeInt, Optional: true, Default: 30, + DiffSuppressFunc: func(k, old, new string, d *schema.ResourceData) bool { + if old == "" { + return true // old empty ok + } + return strings.TrimSpace(old) == strings.TrimSpace(new) + }, }, "ciuser": { Type: schema.TypeString,