Releases: hashicorp/terraform-provider-vsphere
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)
v2.7.0
2.7.0 (March 06, 2024)
BUG FIXES:
resource/virtual_machine
: Fixes support for SR-IOV passthrough virtual machine network adapters. (#2133)resource/virtual_machine
: Unifiesdisk.keep_on_remove
with default anddisk.label
with the correct one assigned to the virtual machine disk during import. If the datastore for a virtual machine is part of a datastore cluster thedatastore_cluster_id
attribute is filled during import. (#2127)resource/virtual_machine
: Changed the default value forsync_time_with_host
inr/vsphere_virtual_machine
totrue
to align with default value provided by the UI and API. (#2120)resource/virtual_machine
: Added the virtual machine folder in the search for virtual machine criteria when deploying from an OVF/OVA. scenario. Allows virtual machines with same names in different virtual machine folders to be not distinguished as different managed entities. (#2118)resource/virtual_disk
: Fixes import to use the correct thevmdk_path
. (#1762)
FEATURES:
resource/virtual_machine
: Adds support formemory_reservation_locked_to_max
property. If set true, memory resource reservation for the virtual machine will always be equal to the virtual machine's memory size. (#2093)data/vsphere_host_vgpu_profile
: Adds data source to the provider to query and return available vGPU profiles for an ESXi host. (#2048)data/vsphere_datastore_stats
: Adds datastore stats to report total capacity and free space of datastores. (#1896)data/vsphere_datastore
: Adds stats to report total capacity and free space of a single datastore. (#1896)
DOCUMENTATION:
- Updates
INSTALL.md
use useunzip
for Linux and macOS examples. (#2105)
CHORES:
v2.6.1
v2.6.0
2.6.0 (November 29, 2023)
BUG FIXES:
resource/virtual_machine
: Resolves upload error when deploying an OVF/OVA directly to an ESXi host. (#1813)
FEATURES:
resource/compute_cluster
: Adds support for vSAN Express Storage Architecture in vSphere 8.0. (#1874)resource/compute_cluster
: Adds support for vSAN stretched clusters. (#1885)resource/compute_cluster
: Adds support for vSAN fault domains. (#1968)resource/guest_os_customization
: Adds support for the customization specifications for guest operating systems. (#2053)datasource/guest_os_customization
: Adds support for the customization specifications for guest operating systems. (#2053)resource/virtual_machine
: Adds support for the use of customization specifications for guest operating systems. (#2053)resource/virtual_machine
: Adds support for the SR-IOV (sriov
) network interface adapter type. (#2059 and #1417)
v2.5.1
2.5.1 (October 12, 2023)
BUG FIXES:
resource/virtual_machine
: Fixed cloning regression on datastore cluster. Restored behavior not to send relocate specs for the virtual disks when it is cloned on datastore cluster with exception when `datastore_id`` is explicitly specified for the virtual disk. (#2037)resource/vsphere_virtual_disk
: Fixed improper disk type handling forcing disks to be recreated. (#2033)
IMPROVEMENTS:
resource/virtual_machine
: Allow hardware version up to 21. (#2038)
CHORES:
provider
: Bumpsgolang.org/x/net
from 0.13.0 to 0.17.0. (#2035)
2.5.0 (October 09, 2023)
BUG FIXES:
resource/virtual_machine
: Removes the validation foreagerly_scrubbed
andthin_provision
fields for a disk subresource so thatignore_changes
resolves a deployment. (#2028)resource/virtual_machine
: Adds a differential between the disk properties specified and those existing on the source virtual machine disk, allowing changes to be sent to the API for disk subresource. (#2028)
IMPROVEMENTS:
resource/vsphere_nic
: Documentation updates. (#2017)
CHORES:
provider
: Updatesvmware/govmomi
to v0.31.0. (#2026)
v2.5.0
2.5.0 (October 09, 2023)
BUG FIXES:
resource/virtual_machine
: Removes the validation foreagerly_scrubbed
andthin_provision
fields for a disk subresource so thatignore_changes
resolves a deployment. (#2028resource/virtual_machine
: Adds a differential between the disk properties specified and those existing on the source virtual machine disk, allowing changes to be sent to the API for disk subresource. (#2028
IMPROVEMENTS:
resource/vsphere_nic
: Documentation updates. (#2017)
CHORES:
provider
: Updatesvmware/govmomi
to v0.31.0. (#2026)
v2.4.3
v2.4.2
v2.4.1
BUG FIXES:
r/vsphere_compute_cluster
: Added version check for vSphere 7.0.1 or later when enabling vSAN HCI Mesh. (#1931)