DEV Community

Cover image for 📌 Azure Terraform tip: features block inside the provider definition.
tarak-brainboard for Brainboard

Posted on

📌 Azure Terraform tip: features block inside the provider definition.

One of the least known option in Terraform for hashtag#Azure users is the features block inside the provider definition.

✅ This is a very useful and even a recommended way to put some of your policies that Terraform will use when manipulating the resources.

For e.g.

  • You can specify that the resource group will not be deleted if it contains resources.

  • Force the purge of the soft deletes when a key vault is deleted.

  • Even for VMs, you can define a few rules to check against.

👉 If you want to see more examples, here is the documentation page: https://lnkd.in/eqAukBcA

🛡️ If you are using Brainboard.co this block is managed for you automatically and our team is always available to provider recommendations or help if needed.

Top comments (0)