Deploy an Azure VM with Terraform
Deploying VMs is the primary target for almost all attempts at automation. Terraform provides a much more human-readable syntax than that of an ARM template and allows for the creation of any prerequisites you may want or need without having to jump around multiple portal screens.
In this lab, we will take what we've done in the previous labs and add in the creation of a NIC and a marketplace Ubuntu VM. Also, we will create a Boot Diagnostics storage account to support the use of the serial console, providing a quick way to test the VM's deployment.