Creating a Windows VM in Azure using Terraform — which way is best?

Jack Roper
FAUN — Developer Community 🐾
9 min readJan 6, 2021

--

Terraform Logo

There are 3 basic ways to create a VM in Azure using Terraform code! But which is best? This can be confusing for beginners / intermediate users, especially when looking at existing projects coded in Terraform and trying to decipher them.

I’ve attempted to summarise each method below with pros and cons listed from my experience:

--

--

A blog about DevOps & Cloud Tech. Specializing in Terraform, Kubernetes, Azure & Azure DevOps! ☁️