Using Terraform to Deploy the VMware Event Broker Appliance
With the addition of OVF/OVA customized properties in Terraform, I figured I would put together a few runbooks for appliances to deploy. In my first post I covered how to deploy SRM, this post will include the details on how to deploy the VMware Event Broker Appliance (VEBA).
Pre-Requsites
Link to Code
Execute the Runbook
- 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.
1git clone https://github.com/dstamen/Terraform.git #Clone the Github Repository
2cd Terraform/deploy-veba #Change to Runbook Directory
3vi modules/deploy-veba/main.tf #Update the configuration file to provide your vCenter Server and Appliance Settings and then Save the file
4terraform init #Initialize and install the provider if needed
5terraform plan #Validate the run book will work
6terraform apply #Deploy your VMs!
Conclusion
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!
comments powered by Disqus