hashicorp / terraform-provider-vsphere

Terraform Provider for VMware vSphere
https://registry.terraform.io/providers/hashicorp/vsphere/
Mozilla Public License 2.0
619 stars 452 forks source link

Add support to configure auto-start / power-on of virtual machine resources #2203

Open MartiniMoe opened 5 months ago

MartiniMoe commented 5 months ago

Community Guidelines

Description

There seems to be no way to configure auto-start / automatic power-on of virtual machines using the terraform provider.

The vSphere feature is documented here: https://docs.vmware.com/en/VMware-vSphere/6.7/com.vmware.vsphere.vm_admin.doc/GUID-5FE08AC7-4486-438E-AF88-80D6C7928810.html

Also the govc cli supports configuring this: https://github.com/vmware/govmomi/blob/main/govc/USAGE.md#hostautostartadd

There already existed an issue about adding this feature, but it was automatically closed by a bot: #1788

Use Case(s)

Automatically power on virtual machines after a host boots.

Potential Terraform Provider Configuration

No response

References

1788

github-actions[bot] commented 5 months ago

Hello, MartiniMoe! 🖐

Thank you for submitting an issue for this provider. The issue will now enter into the issue lifecycle.

If you want to contribute to this project, please review the contributing guidelines and information on submitting pull requests.