how do you detect drift in Azure infrastructure using ARM templates

Rawal, Umesh 25 Reputation points
2023-11-21T04:42:40.0466667+00:00

I am looking for ways to detect and fix drifts in my Azure infrastructure and ARM templates, are there any tools that can help us compare the current state of our resources vs the desired state defined in the ARM (Azure Resource Manager) templates?

for example: The Terraform plan lists the changes in the actual state vs the desired state

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
991 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Tushar Kumar 3,106 Reputation points
    2023-11-21T06:36:46.8033333+00:00

    Hi Rawal,

    Thanks for your question in Microsoft QnA!

    Unfortunately with ARM template there is no great tooling that will help! I will wait for someone else to post great tool.

    Here is my recommendationa:

    Use Deployment Stack for controled deployments : Use Deployment Stack : https://learn.microsoft.com/en-us/azure/azure-resource-manager/bicep/deployment-stacks?tabs=azure-powershell

    Please click "Accept as Answer" if this helps

    0 comments No comments