Skip to content

Commit

Permalink
fix(lambda-log): skip setting statement id (#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
dudymas authored Sep 21, 2023
1 parent cab2ab2 commit 6564a54
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lambda-log.tf
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,6 @@ resource "aws_lambda_function" "forwarder_log" {
resource "aws_lambda_permission" "allow_s3_bucket" {
for_each = local.s3_logs_enabled ? local.s3_bucket_names_to_authorize : []

statement_id = "AllowS3ToInvokeLambda-${each.value}"
action = "lambda:InvokeFunction"
function_name = aws_lambda_function.forwarder_log[0].arn
principal = "s3.amazonaws.com"
Expand Down

0 comments on commit 6564a54

Please sign in to comment.