coco_apm_exportdtconfig/configuration/20211213-201056_EUPROD/notifications/CD_RemoteServiceCockpit - M...

18 lines
669 B
HCL

resource "dynatrace_notification" "CD_RemoteServiceCockpit_-_MS_Teams" {
web_hook {
name = "CD_RemoteServiceCockpit - MS Teams"
accept_any_certificate = false
active = true
alerting_profile = "dd07490a-9906-33dc-b19f-d7c9115f7d10"
notify_event_merges = false
payload = <<-EOT
{
"title":"{ProblemTitle}",
"text":"{ProblemDetailsHTML}\n{ProblemURL}",
"themeColor":"EA4300"
}
EOT
url = "https://bmwgroup.webhook.office.com/webhookb2/c686842d-801e-49a9-a531-0fd674433695@ce849bab-cc1c-465b-b62e-18f07c9ac198/IncomingWebhook/3b0679e808594270bd617b57f511208e/fe7de8d5-1244-4c24-9631-f22c41698fd1"
}
}