Azure Policy Compliance Monitoring: A Solution in Terrafrom

Arlan Nugara
Apr 7, 2022


This post was originally on on December 27, 2021, but moved to as the new home for Arlan’s Blogs.


This is a monitoring and email alerting solution for Non-Compliant resources in Azure.

Resources details

The list of resources created by this Bicep Project are as follows : -

  • Log Analytics Workspace
  • Event Grid Topic and Subscription
  • App Service Plan
  • Application Insights
  • Storage Account
  • Function App
  • Azure Monitor Alert Rule


Here’s a rough diagram of the resources it creates

Operations details

The creates the Resource Group and call each modules for creating the required resources. The file contains variable values for all resources.