Infrastructure-as-code, automation and particularly Terraform is the hot topic at the moment, and rightfully so. There has been some fantastic articles by people far more adept and intelligent than me on how to use Terraform in conjunction with VMware Cloud and the NSX-T networking. However, I thought I’d come at this from a different angle, not using a brand-new or greenfield SDDC, but one already in use and ‘worn in’. In other words, one with VMs and NSX-T rules, services and groups already in-situ.
I’ve been fortunate to work closely with VMware and in particular, the UK-based VMware Cloud on AWS team, over the last 18 months or so. Stagecoach were one of the first businesses in the UK to adopt it as their cloud platform of choice alongside AWS and so we have forged a strong relationship with their team, in particular Nico Vibert. I tell you this as some simple promotion for his website, because a good percentage of this code was his. If you’re into Terraform and VMWonAWS then head over to his website.
- Terraform connectivity to my VMware Cloud on AWS SDDC
- Clone existing vSphere template to singular VM
- Clone existing vSphere template to multiple VMs
- Dynamically name the VMs
- Dynamically name the machines in Windows
- Assign an sequential IP to each VM
- Join to an Active Directory domain