Terraform
Manage the lifecycle of resources in Azure with Terraform
In terraform we have something called a a lifecycle block. It is very useful for many reasons. In this post we will focus primarily on two which are prevent_destroy and ignore_changes I have a small configuration where I will create an SQL server and a database in Azure.