In this blog I will share with you a great tool I found that looks really interesting for automating daily tasks: Terraform for vCloud director.
In addition to the automation tools I mentioned in a previous blog post this tool offers even more possibilities in terms of Infrastructure as a code.
The Terraform vCloud Director provider is an open-source project hosted on GitHub. The provider is used to interact with the resources supported by VMware vCloud Director. This allows administrators and DevOps Engineers to deploy Infrastructure as a code using Terraform configuration files.
HashiCorp is hosting the provider in the “terraform-providers” namespace together with all the other official Terraform providers.
https://github.com/terraform-providers/terraform-provider-vcd
Supported vCD Versions
The following vCloud Director versions are supported by this provider:
- 9.0
- 9.1
- 9.5
- 9.7
- 10.0
In other words, if you are not running a version from way back when your vCD deployment should be supported I reckon.
If you want to find out more information on the Terraform vCloud director provider have a look at https://www.terraform.io/docs/providers/vcd/index.html
If you are like me and want to jump right in, you can download the latest version of Terraform for vCloud here: https://www.terraform.io/downloads.html
You can also join through VMware {code} to in #vcd-terraform-dev channel if you need any help or have any questions.
In conclusion I have already seen some nice ideas out there on how to use Terraform in combination with vCloud director.
Therefore I am looking forward to diving deeper in this technology and hopefully I will be able to create a blog post about my findings.
For now I would recommend you visit this blog on how to use Terraform:
https://www.virtualtothecore.com/learning-how-to-use-terraform-in-vcloud-director/
Check our other vCloud Director related articles here
I would also like to recommend you have a look at our other automation related articles:
- vCloud automation tools
- Deploy a vApp using PowerCLI
- The basics of vcd-cli
- vCloud PowerCLI/PowerShell basics