A few weeks ago I delivered a webinar about the Azure Virtual WAN (vWAN) for the polish audience. The Azure vWAN service is nice and worth mentioning by itself but I wanted to share something different. The way you can automate the deployment of the Azure vWAN using the Terraform. I try to automate all the things I do in the public cloud. It is quite rare that I will perform such a configuration only once. So my natural approach to creating the webinar lab was programming is in the IaaC model. It worked nicely. Since the webinar, I used this code three times already.
If you want to test the vWAN by yourself, or you are interested in how to automate the vWAN management using the Terraform (my favorite tool lately), check the Szkola DevNet’s (my DevNet education project for the polish speaking audience) GitHub, where I put complete Terraform script. Using it, you can create a simple vWAN topology with two hubs, a VPN connection to another VNet, some VNet Peering, and of course, routing.