Skip to content

Terraform

Deploy vCenter Server Appliance with Terraform

I’m a big fan of William Lam’s scripts to deploy nested vSphere lab environments. A few months ago, he published a script for vSphere 7.0 that deploys the usual suspects. It also deploys vSphere with Kubernetes. I’ve always wanted to see if I could build something similar using Terraform. I think it would be awesome to run a terraform apply and go from an OVA file to a fully deployed vCenter. I’ve messed around with this in the past. I even fixed a bug that made the VCSA as well as William’s Nested ESXi Appliances undeployable. Without any hacks you could deploy a VCSA and get it online enough for network connectivity. Due to limitations, you would have to manually configure the VCSA from the VAMI interface. As another option, you could manually edit the VCSA OVF file and change… Read More »Deploy vCenter Server Appliance with Terraform