Using Terraform to Deploy the VMware Nested ESXi Appliance

Share on:

With the addition of OVF/OVA customized properties in Terraform, I figured I would put together a few runbooks for appliances to deploy. This post will cover the details deploy the Nested ESXi Appliance.

  • The script is pretty straight forward, you will need to download the Appliance OVA to a local directory and fill in the appropriate variables on the configuration file. Terraform also supports a Remote OVF, but due to performance reasons I have find local to work better.
git clone https://github.com/dstamen/Terraform.git #Clone the Github Repository
cd Terraform/deploy-nested-esxi #Change to Runbook Directory
vi modules/deploy-nested-esxi/main.tf #Update the configuration file to provide your vCenter Server and Appliance Settings and then Save the file
terraform init #Initialize and install the provider if needed
terraform plan #Validate the run book will work
terraform apply #Deploy your VMs!

Im loving all the new pieces of automation that are coming out to help simplify deployments.

What would you like to see next? Leave a comment below!

See Also