diff --git a/vsphere/virtual_machine_config_structure.go b/vsphere/virtual_machine_config_structure.go index 2f0abfc76..a478e5f37 100644 --- a/vsphere/virtual_machine_config_structure.go +++ b/vsphere/virtual_machine_config_structure.go @@ -352,7 +352,7 @@ func schemaVirtualMachineConfigSpec() map[string]*schema.Schema { "hardware_version": { Type: schema.TypeInt, Optional: true, - ValidateFunc: validation.IntBetween(4, 19), + ValidateFunc: validation.IntBetween(4, 21), Description: "The hardware version for the virtual machine.", Computed: true, }, diff --git a/website/docs/r/virtual_machine.html.markdown b/website/docs/r/virtual_machine.html.markdown index c273c2787..7be7b9381 100644 --- a/website/docs/r/virtual_machine.html.markdown +++ b/website/docs/r/virtual_machine.html.markdown @@ -650,7 +650,7 @@ The following options are general virtual machine and provider workflow options: [vmware-docs-guest-ids]: https://vdc-download.vmware.com/vmwb-repository/dcr-public/b50dcbbf-051d-4204-a3e7-e1b618c1e384/538cf2ec-b34f-4bae-a332-3820ef9e7773/vim.vm.GuestOsDescriptor.GuestOsIdentifier.html -* `hardware_version` - (Optional) The hardware version number. Valid range is from 4 to 19. The hardware version cannot be downgraded. See [virtual machine hardware compatibility][virtual-machine-hardware-compatibility] for more information. +* `hardware_version` - (Optional) The hardware version number. Valid range is from 4 to 21. The hardware version cannot be downgraded. See [virtual machine hardware compatibility][virtual-machine-hardware-compatibility] for more information. [virtual-machine-hardware-compatibility]: https://kb.vmware.com/s/article/2007240