How to Deploy and Configure Azure Firewall with Terraform
Azure Firewall is a managed, cloud-based network security service that protects our Azure Virtual Network resources. It is a fully stateful firewall as a service with built-in high availability and unrestricted cloud scalability.
In this story, we will learn how to deploy and configure an Azure Firewall using HashiCorp Terraform.
On a typical Azure Cloud Hub-Spoke (aka Star) Architecture, we will use a Core or Shared VNET or Subscription, used to connect with on-premises and to provide shared services to production and non-production VNETs or Subscriptions.
It is common to deploy an Azure Firewall inside this Core/Share VNET or Subscription to protect the inbound and outbound traffic between all VNETs or Subscriptions and the internet.
1. Creating the Core Network Resources with Terraform
We will need to create a Resource Group for our core environment.