From c865fc507b0207fac529b06e4afeb65524586068 Mon Sep 17 00:00:00 2001 From: Andrew Leith Date: Fri, 20 Dec 2024 10:02:06 -0400 Subject: [PATCH] feat: add query for seeing issues while configuring a callback --- aws/eks/cloudwatch_queries.tf | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/aws/eks/cloudwatch_queries.tf b/aws/eks/cloudwatch_queries.tf index 19aca7a0a..c11068d94 100644 --- a/aws/eks/cloudwatch_queries.tf +++ b/aws/eks/cloudwatch_queries.tf @@ -335,3 +335,19 @@ fields @timestamp, @notification_id, @url, @error QUERY } +resource "aws_cloudwatch_query_definition" "callback-config-failure" { + count = var.cloudwatch_enabled ? 1 : 0 + name = "Callbacks / Error configuring a callback" + + log_group_names = [ + local.eks_application_log_group + ] + + query_string = <