When using the VMWare Terraform provider, the customize section for linux fails when the VMWare environment interface does not connect automatically
Scenario
In a RHEL environment, when deploying a resource with the VMWare Terraform provider, the interface of the deployed resource will not automatically connect. The VMware provider does not provide any argument which sets the interface connectivity for the VM being deployed.
Recommendation
It is found that the minimal RHEL installation does not install the required components to work correctly with the terraform provider. When installing a new RHEL VM from the ISO, it is recommened to selected the Infrastructure Server install for the installation type andselected the ‘OS Agents’ and ‘System Administration addons.’ Doing so will then allow the VMWare Terraform provder interface to auto connect after deployment.
Additional Information
VMware Terraform provider documentation:
https://registry.terraform.io/providers/hashicorp/vsphere/latest/docs
RHEL installation guide:
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html-single/installation_guide/index