Skip to content

Commit

Permalink
fix: use lambda arn, not id
Browse files Browse the repository at this point in the history
Co-authored-by: Tyler Richey <richeyt@byu.edu>
  • Loading branch information
chill389cc and tylerrichey98 committed Apr 11, 2024
1 parent 8f87ae8 commit bb8a451
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iac/modules/app/log-analyzer-lambda.tf
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ resource "aws_s3_bucket_notification" "LogAnalyzerSorterFuncTrigger" {
bucket = aws_s3_bucket.LogBucket.id

lambda_function {
lambda_function_arn = aws_lambda_function.LogAnalyzerSorterFunc.id
lambda_function_arn = aws_lambda_function.LogAnalyzerSorterFunc.arn
events = ["s3:ObjectCreated:*"]
filter_prefix = local.unprocessed_log_prefix
}
Expand Down

0 comments on commit bb8a451

Please sign in to comment.