From eda1e47467496e87fe60031e18f2c80bf15f7848 Mon Sep 17 00:00:00 2001 From: NogaNHS Date: Wed, 4 Sep 2024 17:31:15 +0100 Subject: [PATCH] [PRMP-760] - removed event filter for enrichment lambda --- .../terraform/event-enrichment-lambda.tf | 9 --------- 1 file changed, 9 deletions(-) diff --git a/stacks/gp-registrations-mi/terraform/event-enrichment-lambda.tf b/stacks/gp-registrations-mi/terraform/event-enrichment-lambda.tf index 1758ad8..42441c1 100644 --- a/stacks/gp-registrations-mi/terraform/event-enrichment-lambda.tf +++ b/stacks/gp-registrations-mi/terraform/event-enrichment-lambda.tf @@ -33,15 +33,6 @@ resource "aws_lambda_function" "event_enrichment_lambda" { resource "aws_lambda_event_source_mapping" "sqs_queue_event_enrichment_lambda_trigger" { event_source_arn = aws_sqs_queue.incoming_mi_events_for_event_enrichment_lambda.arn function_name = aws_lambda_function.event_enrichment_lambda.arn - filter_criteria { - filter { - pattern = jsonencode({ - body = { - eventType : [{ "anything-but" : ["DEGRADES"] }] - } - }) - } - } } resource "aws_cloudwatch_log_group" "event_enrichment_lambda" {