How to Deploy a Windows VM Scale Set in Azure using Terraform

Guillermo Musumeci
6 min readApr 18, 2021

--

In this story, we will learn how to deploy a Windows VM Scale Set in Azure using Terraform.

We are using a VM Scale Set Extension to execute a PowerShell script that will take of the setup of the servers.

Note: The code was tested with Terraform v0.14 and v0.15.

Prerequisites

--

--

Guillermo Musumeci

Certified AWS, Azure & GCP Architect | HashiCorp Ambassador | Terraform SME | KopiCloud Founder | ex-AWS | Entrepreneur | Book Author | Husband & Dad of ✌