Skip to content

Commit

Permalink
fix: ensure notifications email is being passed as environment variable
Browse files Browse the repository at this point in the history
  • Loading branch information
as1729 committed Oct 2, 2024
1 parent 73b12b2 commit 73518c1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions terraform/treasury_generation_lambda_functions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -432,8 +432,9 @@ module "lambda_function-email-presigned-url" {
timeout = 60 # 1 minute, in seconds
memory_size = 512
environment_variables = merge(local.lambda_default_environment_variables, {
DD_LAMBDA_HANDLER = "src.functions.generate_presigned_url_and_send_email"
DD_LOGS_INJECTION = "true"
DD_LAMBDA_HANDLER = "src.functions.generate_presigned_url_and_send_email"
DD_LOGS_INJECTION = "true"
NOTIFICATIONS_EMAIL = var.notifications_email_address
})

// Triggers
Expand Down

0 comments on commit 73518c1

Please sign in to comment.