This year I decided to learn a bit about automation and infrastructure as code (IAC), and in this article, I would demonstrate some Terraform basics I have learned using the Nutanix Terraform Provider.
During this article, we will learn how to:
1. Install Terraform;
2. Connect Nutanix Terraform Provider;
3. Upload cloud image to the Nutanix Cluster;
4. Deploy a Nutanix Subnet, including IP-address Management;
5. Deploy a VM and connect it to the provisioned subnet;
6. Run a little cloud-init script to create a user in the deployed VM.