Skip to content

Releases: hashicorp/terraform-provider-vsphere

v2.10.0

16 Oct 18:43
cbcbe66
Compare
Choose a tag to compare

2.10.0 (October 16, 2024)

FEATURES:

  • data/vsphere_network: Adds ability to add filter 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 return true or false 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: Updated vmware/govmomi to v0.44.1. (#2282)

v2.9.3

08 Oct 16:50
adf6714
Compare
Choose a tag to compare

2.9.3 (October 8, 2024)

BUG FIX:

  • r/vsphere_tag_category: Updates resource not to ForceNew for cardinality. This will allow the tag_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:

  • resource/vsphere_resource_pool: Updates to include steps to create resource pool on standalone ESXi hosts.
    (#2264)
  • resource/vsphere_virtual_machine: Updates to fix examples of disk0 to reflect that during import the disk get set back to default like Hard Disk 1.
    #2272

v2.9.2

16 Sep 18:29
23dcfba
Compare
Choose a tag to compare

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 for catagory_id.
    #2261

v2.9.1

09 Sep 19:21
46c4ce8
Compare
Choose a tag to compare

2.9.1 (September 9, 2024)

BUG FIX:

  • resource/vsphere_resource_pool: Removes the default setting for scale_descendants_shares to
    allows for inheritance from the parent resource pool.
    #2255

DOCUMENTATION:

  • resource/vsphere_virtual_machine: Updates to clarify assignment of network_interface
    resources. #2256
  • resource/vsphere_host: Updates to clarify import of vsphere_hosts.
    #2257
  • resource/vsphere_compute_cluster: Updates to clarify import of vsphere_compute_cluster
    resources. #2257
  • resource/vsphere_virtual_machine: Updates to clarify the vm path in the import of
    virtual_machine resources.
    #2257

v2.9.0

03 Sep 15:39
871485a
Compare
Choose a tag to compare

2.9.0 (September 3, 2024)

FEATURES:

  • resource/host - Added support for ntpd for services on r/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:

  • provider: Updated vmware/govmomi to v0.42.0.
    (#2248)
  • provider: Updated golang/go to v1.22.6
    (#2247)

v2.8.3

14 Aug 01:16
62bed4f
Compare
Choose a tag to compare

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: Updated vmware/govmomi to v0.39.0.
    (#2240)

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)