Releases: vmware/terraform-provider-vsphere
v2.1.0
BUG FIXES:
resource/compute_cluster: Updatesha_datastore_apd_response_delayto the API default (180) forvmTerminateDelayForAPDSec. 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 readstorage_policy_idif vCenter is not configured. This is not a scenario we test or support explicitly (#1408)datasource/virtual_machine: Fix silent failure and adddefault_ip_addressattribute. (#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: Updateswindows_optionsto 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 intagandtag_category. (#1579)resource/virtual_machine: Setsannotationto optional + computed. (#1588)
FEATURES:
datasource/license: New datasource can be used to read general attributes of a license. (#1580)resource/virtual_machine: Adds thetools_upgrade_policyargument 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 versions6.6.0and7.0.3. (#1501)datasource/content_library_item: Documentation updates. (#1507)resource/ha_vm_override: Addsdisabledoption toha_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
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 tocdromsubresource. (1433)
IMPROVEMENTS:
resource/virtual_machine: Support periodic time syncing for VMs on vsphere 7.0U1 onwards. (1431)
v2.0.1
v2.0.0
BREAKING CHANGES:
provider: Moving forward this provider will only work with Terraform version v0.12 and later.resource/virtual_machine: Deprecated attributenamehas been removed from thedisksubresource.
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: Addedreplace_triggerto support replacement of vms based external changes such as cloud_init (#1360)
v1.26.0
v1.25.0
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 allowsvsphere_virtual_machineto be created by its exported attributes. See PR for more details. (#1339)
IMPROVEMENTS:
v1.24.3
v1.24.2
v1.24.1
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
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)