Skip to content

Commit 02eff29

Browse files
committed
[NRL-1386] Make lambda subscription filters unique per firehose stream
1 parent 37005d4 commit 02eff29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

terraform/infrastructure/modules/lambda/cloudwatch.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ resource "aws_cloudwatch_log_group" "lambda_cloudwatch_log_group" {
77
resource "aws_cloudwatch_log_subscription_filter" "lambda_log_filter" {
88
for_each = var.firehose_subscriptions
99

10-
name = "${aws_lambda_function.lambda_function.function_name}_filter"
10+
name = "${aws_lambda_function.lambda_function.function_name}_${each.key}_filter"
1111
log_group_name = aws_cloudwatch_log_group.lambda_cloudwatch_log_group.name
1212
role_arn = each.value.role.arn
1313
destination_arn = each.value.destination.arn

0 commit comments

Comments
 (0)