coco_apm_exportdtconfig/configuration/20211213-201056_EUPROD/notifications/NGTP - MS Teams.b29b9c2e-4d...

18 lines
609 B
HCL

resource "dynatrace_notification" "NGTP_-_MS_Teams" {
web_hook {
name = "NGTP - MS Teams"
accept_any_certificate = false
active = true
alerting_profile = "c21f969b-5f03-333d-83e0-4f8f136e7682"
notify_event_merges = false
payload = <<-EOT
{
"title":"{ProblemTitle}",
"text":"{ProblemDetailsHTML}",
"themeColor":"EA4300"
}
EOT
url = "https://bmwgroup.webhook.office.com/webhookb2/e1e947c6-5367-4b5f-9659-704ace229b86@ce849bab-cc1c-465b-b62e-18f07c9ac198/IncomingWebhook/2915d0656bd74b94aee2a97a100fd4ea/58f172a5-112a-443d-a7c1-ea37961421f0"
}
}