Skip to content

Commit

Permalink
feat: Added source_account for lambda_permission resource (#135)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlKapkone authored Feb 10, 2022
1 parent 8d4d28e commit e9f0fcc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/notification/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ resource "aws_lambda_permission" "allow" {
qualifier = lookup(each.value, "qualifier", null)
principal = "s3.amazonaws.com"
source_arn = local.bucket_arn
source_account = lookup(each.value, "source_account", null)
}

# SQS Queue
Expand Down

0 comments on commit e9f0fcc

Please sign in to comment.