Skip to content

Releases: vmware/terraform-provider-vsphere

v2.1.0

01 Mar 03:43

Choose a tag to compare

BUG FIXES:

  • resource/compute_cluster: Updates ha_datastore_apd_response_delay to the API default (180) for vmTerminateDelayForAPDSec. Previously set to 3 (minutes) however the codebase uses this value as seconds. Users who had the field left blank may see a warning about the state value drifting from 3 to 180, after applying this should go away. (#1542)
  • resource/virtual_machine: Don't read storage_policy_id if vCenter is not configured. This is not a scenario we test or support explicitly (#1408)
  • datasource/virtual_machine: Fix silent failure and add default_ip_address attribute. (#1532)
  • resource/virtual_machine: Attempt to fix race condition by always forcing a new datastore id. (#1486)
  • resource/virtual_machine: Fix default guest OS identifier. (#1543)
  • resource/virtual_machine: Updates windows_options to ensure all required options for domain join are provided (#1562)
  • resource/virtual_machine: Fix migration of all disks and configuration files when the datastore_cluster_id is changed on the resource. (#1546)
  • resource/file: Fix upload of VMDK to datastore on ESXi host. (#1409)
  • resource/tag: Fix deletion detection in tag and tag_category. (#1579)
  • resource/virtual_machine: Sets annotation to optional + computed. (#1588)

FEATURES:

  • datasource/license: New datasource can be used to read general attributes of a license. (#1580)
  • resource/virtual_machine: Adds the tools_upgrade_policy argument to set the upgrade policy for VMware Tools. (#1506)

IMPROVEMENTS:

  • resource/vapp_container: Documentation updates. (#1551)
  • resource/computer_cluster_vm_affinity_rule: Documentation updates. (#1544)
  • resource/computer_cluster_vm_anti_affinity_rule: Documentation updates. (#1544)
  • resource/virtual_machine: Documentation updates. (#1513)
  • resource/custom_attribute: Documentation updates. (#1508)
  • resource/vm_storage_policy: Documentation updates. (#1541)
  • datasource/storage_policy: Documentation updates. (#1541)
  • resource/distributed_virtual_switch: Documentation updates. (#1504)
  • datasource/distributed_virtual_switch: Documentation updates. (#1504)
  • resource/distributed_virtual_switch: Add support for dvs versions 6.6.0 and 7.0.3. (#1501)
  • datasource/content_library_item: Documentation updates. (#1507)
  • resource/ha_vm_override: Adds disabled option to ha_vm_restart_priority. (#1505)
  • resource/virtual_disk: Documentation updates. (#1569)
  • resource/virtual_machine: Documentation updates. (#1566)
  • resource/content_library: Documentation updates. (#1577)
  • resource/virtual_machine: Updated the documentation with the conditions that causes the virtual machine to reboot on update. (#1522)
  • resource/distributed_virtual_switch: Devices argument is now optional (#1468)
  • resource/virtual_host: Added support add tags to hosts. (#1499)
  • resource/content_library_item: Documentation updates. (#1586)
  • resource/file: Documentation updates and deletion fix. (#1590)
  • resource/virtual_machine: Documentation updates. (#1595)
  • resource/tag_category: Perform validation of associable types and update documentation around "All" which never worked. (#1602)

v2.0.2

30 Jun 07:43

Choose a tag to compare

BUG FIXES:

  • resource/virtual_machine: Fix logic bug that caused the provider to set unsupported fields when talking to vsphere 6.5. (1430)
  • resource/virtual_machine: Fix resource diff bug where it was not possible to ignore changes to cdrom subresource. (1433)

IMPROVEMENTS:

  • resource/virtual_machine: Support periodic time syncing for VMs on vsphere 7.0U1 onwards. (1431)

v2.0.1

09 Jun 17:28

Choose a tag to compare

BUG FIXES:

  • resource/virtual_machine: Only set vvtd/vbs if vsphere version is newer than 6.5. (1423)

v2.0.0

02 Jun 20:10

Choose a tag to compare

BREAKING CHANGES:

  • provider: Moving forward this provider will only work with Terraform version v0.12 and later.
  • resource/virtual_machine: Deprecated attribute name has been removed from the disk subresource.

BUG FIXES:

  • datasource/ovf_datasource: Fix validation error when importing OVF spec. (1398)
  • resource/virtual_machine: Fix post-import VM regression. (1361)
  • resource/virtual_machine: Round up when calculating disk capacity. (1397)
  • resource/vnic: Fix default netstack name. (1376)

IMPROVEMENTS:

  • provider: Provider wide API timeout setting. (1405)
  • provider: Enable keepalive for REST API sessions. (1301)
  • provider: Upgrade Plugin SDK to 2.6.1 (1379)
  • datasource/virtual_machine: Added 'network_interfaces' output. (#1274)
  • resource/virtual_machine: Allow unconfigurable vApp properties to be set. (1199)
  • resource/virtual_machine: Enable VBS (vbsEnabled) and I/O MMU (vvtdEnabled). (1287)
  • resource/virtual_machine: Added replace_trigger to support replacement of vms based external changes such as cloud_init (#1360)

v1.26.0

20 Apr 16:37

Choose a tag to compare

BUG FIXES:

  • Minor fixes of issues that came up during testing against vSphere 7.0
  • Change the way we set the timeout for maintenance mode (#1392)

IMPROVEMENTS:

  • provider: vSphere 7 compatibility validation (#1381)
  • resource/vm: Allow hardware version up to 19 (#1391)

v1.25.0

08 Apr 10:26

Choose a tag to compare

BUG FIXES:

  • resource/vsphere_entity_permissions: Sorting permission objects on username/groupname before storing. (#1311)
  • resource/vm: Limit netmask length for ipv4 and ipv6 netmasks. (#1321)
  • resource/vm: Fix missing vApp properties. (#1322)

FEATURES:

  • data/vsphere_ovf_vm_template: Created data source OVF VM Template. This new data source allows vsphere_virtual_machine to be created by its exported attributes. See PR for more details. (#1339)

IMPROVEMENTS:

  • resource/distributed_virtual_switch: Allow vsphere 7. (#1363)
  • provider: Bump Go to version 1.16. (#1365)

v1.24.3

14 Dec 20:04

Choose a tag to compare

BUG FIXES:

  • resource/vm: Support for no disks in config (#1241)
  • resource/vm: Make API timeout configurable when building VMs (#1278)

v1.24.2

14 Dec 20:03

Choose a tag to compare

BUG FIXES:

  • resource/vm: Prevent guest_id nil condition. (#1234)

v1.24.1

07 Oct 19:19

Choose a tag to compare

IMPROVEMENTS:
data/content_library_item: Add type to content library item data source. (#1184)
resource/virtual_switch: Fix port group resource to enable LACP in virtual switch only. (#1214)
resource/distributed_port_group: Import distributed port group using MOID. (#1208)
resource/host_port_group: Add support for importing. (#1194)
resource/VM: Allow more config options to be changed from OVF. (#1218)
resource/VM: Convert folder path to MOID. (#1207)

BUG FIXES:
resource/datastore_cluster: Fix missing field in import. (#1203)
resource/VM: Change default OS method on bare VMs. (#1217)
resource/VM: Read virtual machine after clone and OVF/OVA deploy. (#1221)

v1.24.0

14 Sep 02:53

Choose a tag to compare

BUG FIXES:

resource/vm: Skip SCSI controller check when empty. (#1179)
resource/vm: Make storage_policy_id computed to prevent flapping when unset. (#1185)
resource/vm: Ignore nil objects in host network on read. (#1186)
resource/vm: Keep progress channel open when deploying an OVF. (#1187)
resource/vm: Set SCSI controller type to unknown when nil. (#1188)

IMPROVEMENTS:

resource/content_library_item: Add local upload, OVA, and vm-template sources. (#1196)
resource/content_library: Subscription and publication support. (#1197)
resource/vm: Content library vm-template, disk type, and vApp property support. (#1198)