Skip to content

Commit

Permalink
fix: test new principal
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 bb8a451 commit 3b8b5db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions iac/modules/app/log-analyzer-lambda.tf
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ resource "aws_lambda_permission" "LogAnalyzerSorterTriggerPermission" {
statement_id = "LogAnalyzerSorterTriggerPermission"
action = "lambda:InvokeFunction"
function_name = aws_lambda_function.LogAnalyzerSorterFunc.arn
# principal = "s3.amazonaws.com"
principal = data.aws_caller_identity.current.account_id # TODO figure this out
principal = "s3.amazonaws.com"
# principal = data.aws_caller_identity.current.account_id # TODO figure this out
source_arn = aws_s3_bucket.LogBucket.arn
}

Expand Down

0 comments on commit 3b8b5db

Please sign in to comment.