Open adeturner opened 1 year ago
Hello, adeturner! 🖐
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.
Community Guidelines
Terraform
latest
Terraform Provider
v2.4.2
VMware vSphere
7
Description
If I create a Packer vsphere-iso image and export it as a OVF, and then try to instantiate it via vsphere_virtual_machine there is currently no easy way that I can run scripts against the VM.
There are three blockers from a terraform perspective
vsphere_virtual_machine.vApp properties cannot be used as it is still a packer vsphere-iso enhancement
vsphere_virtual_machine.linux_options.script_text fails due to #1915
vsphere_virtual_machine.extra_config fails due to #1124 and the docs stating "Do not use extra_config when working with a template imported from OVF/OVA as your settings may be ignored. Use the vapp block properties section as described in Using vApp Properties for OVF/OVA Configuration."
I've raised a packer problem for the same issue vsphere-iso: running scripts against terraform created VM from vsphere-iso exported as OVF #305
Are there any good examples of workarounds for this problem?
Affected Resources or Data Sources
resource/vsphere_virtual_machine
Terraform Configuration
Debug Output
n/a
Panic Output
No response
Expected Behavior
Have at least one working option to run a script
Actual Behavior
All provider methods to do this fail
Steps to Reproduce