A module that lets you create Action Groups in Azure.
All parameters are required by this module
location
Currently only 'global' is allowed.env
The application insights environment. Useprod
for production,sandbox
for sandbox, etc.resourcegroup_name
The name of the azure resource group, such ascmc-claim-store-prod
.action_group_name
The name to give to the new action group.short_name
A short (12-character maximum) human-readable name for the action group.email_receiver_name
The name of the only action created by this action group - by convention the name of the email recipient.email_receiver_address
The email address to associate with this action group.
The following variables are provided by the module for use in other modules
action_group_name
The name of the newly created action groupaction_group_id
The id of the newly created action group
The following example shows how to use the module to create an action group.
module "custom-action-group" {
source = "git@github.com:hmcts/cnp-module-action-group"
location = "global"
env = "prod"
resourcegroup_name = "${azurerm_resource_group.rg.name}"
action_group_name = "My Custom Action Group"
short_name = "custom AG"
email_receiver_name = "My Mailing List"
email_receiver_address = "mailinglist@hmcts.net"
}