We have barely scratched the surface with Terraform. It is a very powerful piece of software that can do much more than building a single VM from a template. I do find the documentation around the vSphere provider to be lacking and there is not much out there on the internet on using it with vSphere, so it’s been a lot of experimentation for me but very enjoyable.
I first started playing with Terraform after watching Nick Colyer’s excellent Pluralsight course Automating AWS and vSphere with Terraform. It gives good demo driven examples similar to what I have shown in this series but goes further by delving into Modules, local provisoners, remote provisioners, etc. If you have Pluralsight access go check it out.
Finally I also found these posts to be helpful:
- Martin Rusev - Building your infrastructure with Terraform - Review and Walkthrough
- Emil Wypych - Deploying vSphere VM with Terraform
Don’t forget the official documentation on Terraform.io - sometimes you just have to RTFM.
As you have found Terraform is easy to pick up and you can see results very quickly. It’s given me the bug to dig deeper and see what I can apply at work. Good luck in your Terraform journey!