mirror of
https://github.com/bpg/terraform-provider-proxmox.git
synced 2025-06-30 02:31:10 +00:00
fix(vm): Fixed missing default for disk discard (#840)
The default value of "ignore" was missing from the disk discard parameter of the terraform module. This commit sets the default to "ignore" instead of the current "". This fixes terraform incorrectly flagging that the state is different than what is currently running on the proxmox node when the discard option isn't defined under the disk object. Signed-off-by: Daniel Lowry <development@daniellowry.co.uk> Co-authored-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
This commit is contained in:
parent
ac923cd1b4
commit
5281ac2492
@ -69,7 +69,7 @@ const (
|
||||
dvResourceVirtualEnvironmentVMDiskSize = 8
|
||||
dvResourceVirtualEnvironmentVMDiskIOThread = false
|
||||
dvResourceVirtualEnvironmentVMDiskSSD = false
|
||||
dvResourceVirtualEnvironmentVMDiskDiscard = ""
|
||||
dvResourceVirtualEnvironmentVMDiskDiscard = "ignore"
|
||||
dvResourceVirtualEnvironmentVMDiskCache = "none"
|
||||
dvResourceVirtualEnvironmentVMDiskSpeedRead = 0
|
||||
dvResourceVirtualEnvironmentVMDiskSpeedReadBurstable = 0
|
||||
|
Loading…
Reference in New Issue
Block a user