Grant Orchard demonstrates using Terraform to deploy VMware VMs as code. He starts simple then introduces variables and shows how to deploy a complete application stack leveraging Terraform modules.
Check out Grant’s blog series at https://grantorchard.com/infrastructure-as-code-vsphere-admin-part1/
Follow Grant on twitter at https://www.twitter.com/GrantOrchard
3:00 – Brief introduction to Terraform
16:00 – Dependency Resolution/graphviz
19:00 – Variables
34:00 – Provisioners
48:00 – Remote State
56:00 – Recommended Reading