The following are some reasons why you might want to use IaC (infrastructure as code).
The following are some challenges in above business scenario.
This article explains how to provision and deploy a three-tier application to Azure using Terraform. The steps below show how to deploy a simple PHP + MSSQL application to Azure App Service using Terraform.
So now, we know that our Terraform code is working perfect. However, when we ran the Terraform Apply, a few new files were created in our local folder:
We can use the 'Terraform DESTROY' command to remove all the infrastructure from your subscription, so we can look at moving our state file to a centralized area. terraform plan -destroy -out main.destroy.tfplan terraform apply main.destroy.tfplan
Automating infrastructure with Terraform and DevOps templates help us:
Solution Architect – Azure Infrastructure