From 56e10720d996a27258295800c8de4e5fa4d55f15 Mon Sep 17 00:00:00 2001 From: Julia Aghamyan Date: Fri, 17 Nov 2023 14:07:21 +0400 Subject: [PATCH] fix(DMVP-cloudwatch-to-lambda): Cloudwatch to lambda --- modules/cloudwatch-to-lambda/subscription.tf | 1 - 1 file changed, 1 deletion(-) diff --git a/modules/cloudwatch-to-lambda/subscription.tf b/modules/cloudwatch-to-lambda/subscription.tf index 791049d..864a388 100644 --- a/modules/cloudwatch-to-lambda/subscription.tf +++ b/modules/cloudwatch-to-lambda/subscription.tf @@ -14,7 +14,6 @@ resource "aws_cloudwatch_log_subscription_filter" "subscription_filter" { resource "aws_lambda_permission" "cloudwatch_permission_to_trigger_lambda" { for_each = { for log_name in var.cloudwatch_log_group_names : log_name => log_name } - # statement_id = "AllowExecutionFromCloudWatch${each.value}" action = "lambda:InvokeFunction" function_name = module.lambda.lambda_function_arn principal = "logs.${data.aws_region.current.name}.amazonaws.com"