Skip to content

Releases: hashicorp/terraform-provider-vsphere

v2.8.2

28 Jun 15:06
5b11916
Compare
Choose a tag to compare

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: Updated searchPath to use path instead of filepath 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 for ept_rvi_mode and hv_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 to GiBToByte by passing the parameter as int64 which forces the
    function to go through the 64-bit case.
    (#2200)

FEATURES:

  • data/virtual_machine: Added support for instance_uuid.
    (#2198)

DOCUMENTATION:

  • datasource/ovf_vm_template and resource/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: Updated vmware/govmomi to v0.38.0.
    (#2229)
  • provider: Updated hashicorp/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

08 May 20:56
e09a957
Compare
Choose a tag to compare

2.8.1 (May 08, 2024)

BUG FIX:

  • resource/virtual_machine: Reverts removing the default values for ept_rvi_mode and hv_mode
    from the virtual machine configuration.
    (#2194)

v2.8.0

07 May 17:39
b631ed8
Compare
Choose a tag to compare

2.8.0 (May 07, 2024)

BUG FIX:

  • resource/virtual_machine: Removed the default values for ept_rvi_mode and hv_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 a datastore_cluster_id when cloning from
    a vSphere content library. (#2061)

  • resource/guest_os_customization: Adds support for domain_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 to vmware/govmomi 0.36.1. (#2184)
  • provider: Updates hashicorp/terraform-plugin-sdk to 2.33.0. (#2137)
  • provider: Updates vmware/govmomi to 0.37.1. (#2174)
  • provider: Updates golang.org/x/net to 0.23.0. (#2173)
  • provider: Updates golang.org/protobuf to 1.33.0. (#2155)

v2.7.0

06 Mar 16:36
7d4d14c
Compare
Choose a tag to compare

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: Unifies disk.keep_on_remove with default and disk.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 the datastore_cluster_id attribute is filled during import. (#2127)
  • resource/virtual_machine: Changed the default value for sync_time_with_host in r/vsphere_virtual_machine to true 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 the vmdk_path. (#1762)

FEATURES:

  • resource/virtual_machine: Adds support for memory_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 use unzip for Linux and macOS examples. (#2105)

CHORES:

  • provider: Updates vmware/govmomi to v0.35.0. (#2132)
  • provider: Updates hashicorp/terraform-plugin-sdk to v2.32.0. (#2125)
  • provider: Updates golang/go to v1.22.0 (#2139)

v2.6.1

11 Dec 17:41
93a1a48
Compare
Choose a tag to compare

2.6.1 (December 11, 2023)

BUG FIXES:

  • resource/guest_os_customization: Resolves incorrect path for RequiredWith and ConflictsWith attribute identifiers for windows_options. (#2083)
  • resource/virtual_machine: Resolves error setting SR-IOV (sriov) network interface address. (#2081)

v2.6.0

28 Nov 15:55
Compare
Choose a tag to compare

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

12 Oct 20:09
6aa0e84
Compare
Choose a tag to compare

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: Bumps golang.org/x/net from 0.13.0 to 0.17.0. (#2035)

v2.5.0

09 Oct 20:27
Compare
Choose a tag to compare

2.5.0 (October 09, 2023)

BUG FIXES:

  • resource/virtual_machine: Removes the validation for eagerly_scrubbed and thin_provision fields for a disk subresource so that ignore_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: Updates vmware/govmomi to v0.31.0. (#2026)

v2.4.3

08 Sep 20:26
Compare
Choose a tag to compare

BUG FIXES:

  • r/virtual_machine: Fix hardware version conversion (#2011)

CHORES:

  • Update terraform-plugin-sdk v2.28.0 (#2002)

v2.4.2

21 Aug 17:59
5a889bd
Compare
Choose a tag to compare

BUG FIXES:

  • r/virtual_machine: Fix hardware version error when cloning and/or configuring a VM/Template (#1995)
  • r/virtual_machine: Fix invalid operation for device '0' when reconfiguring a VM (#1996)

CHORES:

  • Update to terraform-plugin-sdk v2.27.0 (#1937)
  • Update govmomi v0.30.7 (#1972)