diff --git a/proxmox/resource_vm_qemu.go b/proxmox/resource_vm_qemu.go index bb241460..c4900fc5 100755 --- a/proxmox/resource_vm_qemu.go +++ b/proxmox/resource_vm_qemu.go @@ -3119,6 +3119,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) + }, } }