resource "dynatrace_notification" "CD_ABC_PROD" { web_hook { name = "CD_ABC PROD" accept_any_certificate = false active = true alerting_profile = "7bffb978-11f7-4b6e-9eac-b94ed1a55381" notify_event_merges = false payload = <<-EOT [ { "attributes": { "CLASS": "BusinessTransaction", "source": "MgmtZone: CD_ABC", "severity": "MINOR", "origin": "TEST123", "sub_origin": "Dynatrace SaaS - {ImpactedEntity}", "adapter_host": "https://xxu26128.live.dynatrace.com", "msg": "{ProblemDetailsText}", "contract_id": "10APP11906401", "ars_esc": "Yes", "ars_delay_time": "0", "hostname": "test", "sub_source": "Environment: CoCo_EMEA_Prod", "server_loc": "", "event_id": "AI001", "dd_plus": "{ProblemSeverity}", "dd1": "{ProblemURL}", "dd2": "{PID}" } } ] EOT url = "https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1" header { name = "Authorization" } header { name = "x-apikey" value = "QkdrmGSgDAwU9iVF6cYEtVXPvUqciNai" } } }