From a316dfb199c9d830b803e36e8f64f6661ace6b7c Mon Sep 17 00:00:00 2001 From: mpajuelofernandez <132346225+mpajuelofernandez@users.noreply.github.com> Date: Tue, 24 Sep 2024 18:24:21 +0200 Subject: [PATCH] fix: s3 lambda event notification assignments (#253) * Fix for s3 lambda notification * fix another typo --- main.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.tf b/main.tf index 72e8b7d7..83993ff4 100644 --- a/main.tf +++ b/main.tf @@ -588,8 +588,8 @@ resource "aws_s3_bucket_notification" "bucket_notification" { dynamic "lambda_function" { for_each = var.event_notification_details.lambda_list content { - lambda_function_arn = lambda_function.value.arn - events = lambda.value.events + lambda_function_arn = lambda_function.value.lambda_function_arn + events = lambda_function.value.events filter_prefix = lambda_function.value.filter_prefix filter_suffix = lambda_function.value.filter_suffix }