Skip to content

gantvi01/terraform-azurerm-monitor-action-group

 
 

Repository files navigation

Usage

This module creates Azure Monitor Action Group with Email

provider "azurerm" {
  features {}
}

resource "azurerm_resource_group" "example" {
  name     = "example-resources"
  location = "West Europe"
}

module "actiongroup" {
  depends_on          = [azurerm_resource_group.example]
  source              = "farrukh90/monitor-action-group/azurerm"
  resource_group_name = azurerm_resource_group.example.name
  name                = "actiongroup"
  email_address       = "[email protected]"
  tags = {
    Name        = "Alert"
    Environment = "Dev"
    Team        = "DevOps"
    Department  = "IT"
  }
}