diff --git a/proxmox/resource_vm_qemu.go b/proxmox/resource_vm_qemu.go index b1b6702d..3cb7fc83 100755 --- a/proxmox/resource_vm_qemu.go +++ b/proxmox/resource_vm_qemu.go @@ -3192,6 +3192,12 @@ func schema_DiskBackup() *schema.Schema { Type: schema.TypeBool, Optional: true, Default: true, + // Convert previous integer values of 0/1 to booleans + StateFunc: func(val interface{}) string { + if val.(string) == "0" {return "false"} + if val.(string) == "1" {return "true"} + return val.(string) + }, } }