Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update vsphere_virtual_machine resource docs with reboot conditions #1522

Merged
merged 2 commits into from
Feb 9, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions website/docs/r/virtual_machine.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -1600,6 +1600,44 @@ management of such disks would render their configuration unstable.

[tf-vsphere-virtual-disk]: /docs/providers/vsphere/r/virtual_disk.html

## Virtual Machine Reboot
AliAllomani marked this conversation as resolved.
Show resolved Hide resolved

The virtual machine will be rebooted if any of the following parameters are changed:

* `alternate_guest_name`
* `cpu_hot_add_enabled`
* `cpu_hot_remove_enabled`
* `cpu_performance_counters_enabled`
* `disk.controller_type`
* `disk.unit_number`
* `disk.disk_mode`
* `disk.write_through`
* `disk.disk_sharing`
* `efi_secure_boot_enabled`
* `ept_rvi_mode`
* `enable_disk_uuid`
* `enable_logging`
* `extra_config`
* `firmware`
* `guest_id`
* `hardware_version`
* `hv_mode`
* `memory` - When reducing the memory size, or when increasing the memory size and `memory_hot_add_enabled` is set to `false`
* `memory_hot_add_enabled`
* `nested_hv_enabled`
* `network_interface` - When deleting a network interface and VMware Tools is not running.
* `network_interface.adapter_type` - When VMware Tools is not running.
* `num_cores_per_socket`
* `pci_device_id`
* `run_tools_scripts_after_power_on`
* `run_tools_scripts_after_resume`
* `run_tools_scripts_before_guest_standby`
* `run_tools_scripts_before_guest_shutdown`
* `run_tools_scripts_before_guest_reboot`
* `swap_placement_policy`
* `vbs_enabled`
* `vvtd_enabled`

## Attribute Reference

The following attributes are exported on the base level of this resource:
Expand Down