The alert notification resource allows an alert notification channel to be created on a Grafana server.
resource "grafana_alert_notification" "email_someteam" {
name = "Email that team"
type = "email"
is_default = false
settings {
"addresses" = "[email protected];[email protected]"
"uploadImage" = "false"
}
}
The following arguments are supported:
name - (Required) The name of the alert notification channel. type - (Required) The type of the alert notification channel. is_default - (Optional) Is this the default channel for all your alerts. settings - (Optional) Additional settings, for full reference lookup Grafana HTTP API documentation. The resource exports the following attributes:
id - The ID of the resource
© 2018 HashiCorpLicensed under the MPL 2.0 License.
https://www.terraform.io/docs/providers/grafana/r/alert_notification.html