Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix s3 policy statement #62

Merged
merged 1 commit into from
Mar 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@ module "lambda_function_container_image" {
"s3-object-lambda:List*"
]
resources = [
"arn:aws:s3:*:*:*"
var.ses_bucket_arn,
"${var.ses_bucket_arn}/*"
]
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,9 @@ variable "sqs_name" {
variable "sender_email" {
type = string
nullable = false
}

variable "ses_bucket_arn" {
type = string
nullable = false
}
1 change: 1 addition & 0 deletions terraform/modules.tf
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ module "email_response_processor" {
lambda_repository_name = var.email_response_processor_lambda_repository_name
sqs_name = local.email_response_processor_queue_name
sender_email = var.sender_email
ses_bucket_arn = module.s3_bucket.s3_bucket_arn
}

module "email_request_processor" {
Expand Down
Loading