diff --git a/proxmoxtf/resource_virtual_environment_vm.go b/proxmoxtf/resource_virtual_environment_vm.go index bcec0b004..cf726527c 100644 --- a/proxmoxtf/resource_virtual_environment_vm.go +++ b/proxmoxtf/resource_virtual_environment_vm.go @@ -2488,9 +2488,12 @@ func resourceVirtualEnvironmentVMGetDiskDeviceObjects( diskDevice.Size = &sizeString diskDevice.SizeInt = &size diskDevice.IOThread = &ioThread - diskDevice.SSD = &ssd diskDevice.Discard = &discard + if !strings.HasPrefix(diskInterface, "virtio") { + diskDevice.SSD = &ssd + } + if len(speedBlock) > 0 { speedLimitRead := speedBlock[mkResourceVirtualEnvironmentVMDiskSpeedRead].(int) speedLimitReadBurstable := speedBlock[mkResourceVirtualEnvironmentVMDiskSpeedReadBurstable].(int)