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

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