Releases: hashicorp/terraform-provider-vsphere
v2.11.0
2.11.0 (January 21, 2026)
IMPROVEMENTS:
resource/vsphere_virtual_machine
: - Added support for NVMe controllers. (2321)resource/distributed_virtual_switch
: Added support for vSphere distributed switch version8.0.3
in vSphere 8.0 U3. (2306)resource/vsphere_distributed_virtual_switch_pvlan_mapping
: New resource added to support management of individual PVLAN mapping records on a distributed switch. (2291)
DOCUMENTATION:
- Updated documentation links to
techdocs.broadcom.com
, as needed. (2322)
CHORE:
v2.10.0
2.10.0 (October 16, 2024)
FEATURES:
data/vsphere_network
: Adds ability to addfilter
to find port groups based on network type of standard virtual port group, distributed virtual port group, or network port group. (#2281)resource/vsphere_virtual_machine
: Adds ability to add a virtual Trusted Platform Module (vtpm
) to virtual machine on creation or clone. (#2279)data/vsphere_virtual_machine
: Adds ability read the configuration of a virtual Trusted Platform Module (vtpm
) on virtual machine; will returntrue
orfalse
based on the configuration. (#2279)data/vsphere_datastore_stats
: Adds ability to return all data stores, both local and under a datastore cluster, in the datastore list. (#2273)data/datasource_cluster
: Adds ability to return datastore names under from a datastore cluster. (#2274)data/vsphere_datacenter
: Adds ability to return list of virtual machine names for the specified datacenter. (#2276)
IMPROVEMENTS:
resource/virtual_machine
: Documentation updated. (#2285)
CHORE:
provider
: Updatedvmware/govmomi
to v0.44.1. (#2282)
v2.9.3
2.9.3 (October 8, 2024)
BUG FIX:
r/vsphere_tag_category
: Updates resource not toForceNew
for cardinality. This will allow thetag_category
to updated.
(#2263)r/vsphere_host
: Updates resource to check thumbprint of the ESXI host thumbprint before adding the host to a cluster or vCenter Server.
(#2266)
DOCUMENTATION:
v2.9.2
2.9.2 (September 16, 2024)
BUG FIX:
resource/vsphere_compute_cluster_vm_group
: Updates resource to allow for additional virtual
machines to be adding or removed from a VM Group. Must be ran in conjunction with and import.
#2260
FEATURES:
resource\vsphere_tag
: Adds a format validation forcatagory_id
.
#2261
v2.9.1
2.9.1 (September 9, 2024)
BUG FIX:
resource/vsphere_resource_pool
: Removes the default setting forscale_descendants_shares
to
allows for inheritance from the parent resource pool.
#2255
DOCUMENTATION:
resource/vsphere_virtual_machine
: Updates to clarify assignment ofnetwork_interface
resources. #2256resource/vsphere_host
: Updates to clarify import ofvsphere_hosts
.
#2257resource/vsphere_compute_cluster
: Updates to clarify import ofvsphere_compute_cluster
resources. #2257resource/vsphere_virtual_machine
: Updates to clarify thevm
path in the import of
virtual_machine
resources.
#2257
v2.9.0
2.9.0 (September 3, 2024)
FEATURES:
resource/host
- Added support for ntpd for services onr/vsphere_host
. This allows for ntpd
service settings and policy to be added to a host resource and future expansion of additional
services. (#2232)
CHORE:
v2.8.3
2.8.3 (August 13, 2024)
BUG FIX:
resource/virtual_machine
: Fixed virtual machine reconfiguration with multiple PCI passthrough
devices.(#2236)resource/virtual_machine
: Fixed inability to apply a default gateway on more than one network
adapter. (#2235)
FEATURES:
r/virtual_disk
: Allows the increasing the size of virtual disks. Reductions in size are not
supported by vSphere and are allowed.
(#2244)
CHORES:
provider
: Updatedvmware/govmomi
to v0.39.0.
(#2240)
v2.8.2
2.8.2 (June 28, 2024)
BUG FIX:
resource/file
: Updated to ensure that incoming file names with special characters (+
,
specifically) retain their original name when uploaded.
(#2217)resource/virtual_machine
: UpdatedsearchPath
to usepath
instead offilepath
since this is
a vSphere inventory path (e.g.,\Datacenter\vm\<vm_name>
), not a directory path.
(#2216)resource/virtual_machine
: Removed the default values forept_rvi_mode
andhv_mode
from the
virtual machine configuration.
(#2230)resource/virtual_machine
: Fixed overflow for the disk sub-resource when running a 32-bit version
of the provider. Modified the call toGiBToByte
by passing the parameter asint64
which forces the
function to go through the 64-bit case.
(#2200)
FEATURES:
data/virtual_machine
: Added support forinstance_uuid
.
(#2198)
DOCUMENTATION:
datasource/ovf_vm_template
andresource/virtual_machine
: Updated to use a Ubuntu Server cloud
image since the nested ESXi OVA images are no longer available for direct download from Flings.
(#2215)resource/virtual_machine
: Updated to denote support and limitations for options.
(#2218)resource/virtual_machine
: Added examples for the use of guest customization specifications.
(#2218)- Removed deprecated interpolation syntax where it is no longer required.
(#2220) - Updated examples to use the correct syntax, formatting, and alignment with other examples in the
docs. (#2222) - Updated all links in documentation, as necessary.
(#2212)
CHORE:
provider
: Updatedvmware/govmomi
to v0.38.0.
(#2229)provider
: Updatedhashicorp/terraform-plugin-sdk
to v2.34.0.
(#2201)provider
: Added version tracking (// Minimum Supported Version: x.y.z
) where there is a version
restriction. This is preparation for removing checks and to support only 7.0 and later per the
product lifecycle.
(#2213)
v2.8.1
v2.8.0
2.8.0 (May 07, 2024)
BUG FIX:
resource/virtual_machine
: Removed the default values forept_rvi_mode
andhv_mode
from the
virtual machine configuration. (#2172)resource/virtual_machine
: Fixed issue when network interfaces, created by Docker, with the same
deviceConfigId
causes an unexpected output. (#2121)
FEATURES:
-
resource/virtual_machine
: Adds support for specifying adatastore_cluster_id
when cloning from
a vSphere content library. (#2061) -
resource/guest_os_customization
: Adds support fordomain_ou
for Windows customizations added
in vSphere 8.0.2. (#2181) -
Adds resources for vSphere workload management. (#2791)
- Enable workload management on a cluster.
- Creatw custom namespaces and VM classes.
- Choose a content library.
- Configure passthrough devices for VM classes (e.g. vGPU).
-
resource/vsphere_offline_software_depot
: Adds resource to the provider for offline software
depots. Support for online depots can be added at a later time. Only depots with source type
"PULL" are supported. This is intentional and aims to discourage the use of the deprecated VUM
functionality. (#2143) -
data/vsphere_host_base_images
: Adds data source to the provider for base images. Declaring this
data source allows users to retrieve the full list of available ESXi versions for their
environment. (#2143) -
resource/vsphere_compute_cluster
: Adds property that serves as an entry point for the vLCM
configuration. Allows selection of a base image and a list of custom components from a depot.
Configuring this property for the first time also enables vLCM on the cluster. (#2143)
DOCUMENTATION:
vsphere_folder
: Added clarification for storage folders instead of datastore folders. (#2183)resource/virtual_machine
: Corrected resource and data source anchor links intended for
virtual_machine#virtual-machine-customizations
. (#2182)
CHORES:
provider
: Updated to allows the use of a SHA256 thumbprint when connecting to vCenter Server.
Support for SHA256 was added tovmware/govmomi
0.36.1. (#2184)provider
: Updateshashicorp/terraform-plugin-sdk
to 2.33.0. (#2137)provider
: Updatesvmware/govmomi
to 0.37.1. (#2174)provider
: Updatesgolang.org/x/net
to 0.23.0. (#2173)provider
: Updatesgolang.org/protobuf
to 1.33.0. (#2155)