Note: this code is compatible and was tested with Terraform v13.x and Azure Provider v2.x
This Terraform code will deploy the following resource
-
Resource Group, VNET, Subnet
-
DNS records, and Endpoints
-
SQL Server instance and SQL Server database
Blog Post --> https://gmusumeci.medium.com/how-to-deploy-an-azure-sql-server-instance-with-a-private-endpoint-using-terraform-815a19b7f0ec