From 0c2e6b8751fc89bbb1dd40ec89d978df15ca7dbf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cenk=20K=C3=BCc=C3=BCk?= Date: Mon, 13 Nov 2023 15:11:59 +0100 Subject: [PATCH] Integrate ingestion monitoring data into instatus (#3515) --- test/e2e/main.tf | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/test/e2e/main.tf b/test/e2e/main.tf index b1942a75b..f9cc2d5f8 100644 --- a/test/e2e/main.tf +++ b/test/e2e/main.tf @@ -30,6 +30,10 @@ variable "checkly_alert_channel_instatus_webhook_url" { sensitive = true } +variable "checkly_alert_channel_instatus_webhook_url_ingestion" { + sensitive = true +} + provider "checkly" { api_key = var.checkly_api_key account_id = var.checkly_account_id @@ -163,6 +167,12 @@ EOT comparison = "IS_EMPTY" } } + + alert_channel_subscription { + channel_id = checkly_alert_channel.instatus_ingestion.id + activated = true + } + } resource "checkly_check" "plausible-io-tracker-script" { @@ -298,3 +308,14 @@ EOT url = var.checkly_alert_channel_instatus_webhook_url } } + +resource "checkly_alert_channel" "instatus_ingestion" { + webhook { + name = "Instatus integration - ingestion" + method = "POST" + template = <