forked from hmcts/cnp-module-action-group
-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.tf
18 lines (16 loc) · 737 Bytes
/
main.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
data "template_file" "actiongrouptemplate" {
template = "${file("${path.module}/templates/action-group.json")}"
}
resource "azurerm_template_deployment" "action-group" {
template_body = "${data.template_file.actiongrouptemplate.rendered}"
name = "${var.group_name}"
resource_group_name = "${var.resourcegroup_name}"
deployment_mode = "Incremental"
parameters = {
location = "${var.location}"
alertName = "${var.alert_name}"
alertShortName = "${var.alert_short_name}"
emailReceiverName = "${var.email_receiver_name}"
emailReceiverAddress = "${var.email_receiver_address}"
}
}