Using Terraform to configure SQL Server on an Azure VM (IaaS)
Published in
3 min readMay 6, 2021
In this article, I will run through an example of how to create a SQL Server VM in Azure using Terraform, utilizing the SQL Server IaaS extension.
Not all SQL applications are fully compatible with cloud-native database services such as Azure SQL (PaaS) or CosmosDB, and Azure SQL Managed Instance (Managed IaaS) which provides higher compatibility may be too expensive an option or require application changes to fully exploit (e.g. drivers may need to be updated). It is still necessary for many scenarios to run a SQL server in…