Skip to content

Releases: vmware/terraform-provider-vsphere

v2.15.0

22 Aug 14:30
0aab07b

Choose a tag to compare

Release Date: 2025-08-22

BUG FIX:

  • r/virtual_machine: Check for MissingPortGroupReferenceError when reading a VM network subresource. (#2589)

DOCUMENTATION:

  • r/virtual_machine: Removed sameAsSource from disk_provisioning. (#2578)

FEATURES:

  • r/virtual_machine: Support deploying OVA without specifying host_system_id. (#2567)
  • r/onfiguration_profile: Created a resource and data source for host configuration profiles. (#2588)

IMPROVEMENTS:

  • r/virtual_machine: Updated hardware versions and validation. (#2582)
  • r/distributed_virtual_switch: Updated distributed switch versions. (#2580)

CHORE:

  • provider: Updated goreleaser/goreleaser-action to 6.4.0. (#2583)
  • provider: Updated github.com/hashicorp/terraform-plugin-testing to 1.13.3. (#2585)
  • provider: Updated actions/checkout to 5.0.0. (#2584)
  • provider: Updated vmware/govmomi to 0.52.0. (#2587)

v2.14.2

25 Jul 12:12
10f86d7

Choose a tag to compare

Release Date: 2025-07-25

BUG FIX:

  • r/virtual_machine: Don't use DRS when resizing existing disks. (#2565)

DOCUMENTATION:

  • r/virtual_disk: Doc typo for virtual_disk. (#2556)

v2.14.1

21 Jul 09:48
ef806c9

Choose a tag to compare

v2.14.1

Release Date: 2025-07-21

BUG FIX:

  • r/virtual_machine: Update static mac when reconfiguring VM. (#2561)
  • r/virtual_machine: Server fault when cloning VM on DRS-enabled cluster. (#2560)

DOCUMENTATION:

  • r/virtual_machine: Fix broken link to “Specifying the Root Resource Pool”. (#2553)

v2.14.0

30 Jun 11:44
b106070

Choose a tag to compare

Release Date: 2025-06-30

FEATURES:

  • r/virtual_machine: Add/remove TPM module when editing and cloning r/virtual_machine. (#2542)
  • r/virtual_machine: Attach sparse .vmdk when creating virtual machine. (#2383)
  • d/network: Add VPC awareness to network data source. (#2547)

IMPROVEMENTS:

  • d/resource_pool: Add parent_resource_pool_id. (#2460)

BUG FIX:

  • d/datastore_stats: Skip inaccessible datastores. (#2497)
  • r/virtual_disk: Simultaneous attempts to create parent directories. (#2366)
  • r/virtual_machine: Apply top-rated SDRS placement recommendation. (#2550)

CHORE:

  • technical-debt: Code quality improvements including resolving lint warnings, correcting error handling, simplifying control flow, improving naming consistency, cleaning code formatting, and refactoring for clearer and more maintainable code. (#2488, #2489, #2490, #2491, #2492, #2493, #2494, #2503, #2504, #2505, #2506, #2507, #2509, #2510, #2511, #2512, #2516, #2517, #2526, #2528, #2533, #2534, #2535, #2536)
  • technical-debt: Use of deprecated GetOkExists. (#2482)
  • technical-debt: Exported name starts with package. (#2530)
  • technical-debt: Direct comparison of errors. (#2529)
  • technical-debt: Remove legacy state migration. (#2524)
  • technical-debt: Remove network interface resource allocation gate. (#2522)
  • technical-debt: Replace type assertion on errors. (#2527)
  • acceptance-tests: Stabilization and refactoring of existing tests. (#2500, #2501, #2502, #2521, #2525, #2531, #2540)
  • provider: d.Set is not checked. (#2496)
  • provider: Remove legacy min versions. (#2515)
  • provider: Update codeowners. (#2518)
  • provider: Set golangci-lint version to v2.1.6. (#2551)
  • provider: Updated CodelyTV/pr-size-labeler to 1.10.3. (#2537)
  • provider: Updated github.com/hashicorp/terraform-plugin-testing to 1.13.2. (#2546)
  • provider: Updated github.com/vmware/govmomi to 0.51.0. (#2539)
  • provider: Updated github.com/cloudflare/circl to 1.6.1. (#2545)

v2.13.0

12 May 15:06
4d8f296

Choose a tag to compare

Release Date: 2025-05-12

Important

The development and maintenance of this provider has transitioned to VMware by Broadcom
under the github.com/vmware organization and the vmware/vsphere namespace on the Terraform Registry.

IMPROVEMENTS:

  • r/entity_permission: Changes to entity_id and entity_type will now force resource re-creation. (#2387)
  • r/host_virtual_switch: Added a diff suppression to ignore ordering changes for network_adapters. (#2388)
  • r/host_virtual_switch: Resolved panic when an operation is called with a nil result. (#2445)
  • d/guest_os_customization: Added missing schema options. (#2447)
  • r/resource_pool: Updated to reconcile the scale descendants shares setting for a resource pool. (#2429)
  • r/virtual_machine: Resolved panic when both parent vApp and resource pool are nil. (#2444)
  • r/license/d/license: Refactored logging implementation and masked sensitive data. (#2436)

DOCUMENTATION:

  • d/folder/r/folder: Updated documentation. (#2459)
  • r/license/d/license: Updated documentation. (#2435)
  • r/virtual_machine: Updated documentation. (#2480)
  • d/ovf_vm_template: Updated documentation. (#2480)

CHORE:

v2.12.0

22 Apr 18:50
b144acc

Choose a tag to compare

2.12.0 (April 22, 2025)

IMPROVEMENTS:

  • d/vsphere_network: Added retry_timeout and retry_interval attributes that enable retry if network is not found. (#2349)
  • r/vpshere_host_port_group: Fixed null reference panic during resource import. (#2377)
  • r/vsphere_vmfs_datastore Fixed error during resource deletion. (#2360)

CHORE:

  • provider: Updated go to v1.23.8. (#2372)
  • provider: Updated golang.org/x/net to 0.38.0. (#2358, #2378)
  • provider: Updated golang.org/x/text to v0.22.0. (#2350)
  • provider: Updated golang.org/x/sys to v0.30.0. (#2350)
  • provider: Updated golang.org/x/sync to v0.11.0. (#2350)
  • provider: Updated golang.org/x/crypto to v0.35.0. (#2350)
  • provider: Updated github.com/hashicorp/terraform-plugin-sdk/v2 to v0.1.2. (#2346)
  • provider: Updated github.com/hashicorp/yamux to v2.36.1. (#2334)
  • provider: Updated vmware/govmomi to v0.49.0. (#2342, #2357)

DOCUMENTATION:

  • Migrated documentation from legacy path. (#2370)

v2.11.1

03 Feb 19:55
acdef63

Choose a tag to compare

2.11.1 (February 03, 2025)

IMPROVEMENTS:

  • resource/vsphere_supervisor: - Added support for main_ntp and worker_ntp. (#2326)
  • Updates the session file formatter string to "%064x" from "%040x" to match vmware/govc v0.48.0 and later. (#2329)

CHORE:

  • provider: Updated vmware/govmomi to v0.48.0. (#2325, #2329)

New Contributors:

v2.11.0

21 Jan 19:11
dce3811

Choose a tag to compare

2.11.0 (January 21, 2025)

IMPROVEMENTS:

  • resource/vsphere_virtual_machine: - Added support for NVMe controllers. (2321)
  • resource/distributed_virtual_switch: Added support for vSphere distributed switch version 8.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:

  • provider: Updated golang/go to v1.22.8. (#2289)
  • provider: Updated golang.org/x/net to v0.33.0. (#2319)
  • provider: Updated golang.org/x/crypto to v0.31.0. (#2318)

v2.10.0

16 Oct 18:43
cbcbe66

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

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