How to automate VMware provisioning with Terraform and PowerCLI
Use Terraform to declare the VM's intended configuration and review its proposed changes. Use PowerCLI and an application check to verify the result. A successful apply confirms that the provider completed its operations; it does not prove that a useful service is running.
This guide provisions one disposable Linux VM from an existing template. It contains a complete small configuration, not a production landing zone. No Terraform initialisation, plan, apply or infrastructure connection was executed for this article. The reader must validate it against the installed CLI and approved lab before reuse.