Skip to content

Commit

Permalink
remove unused comma
Browse files Browse the repository at this point in the history
  • Loading branch information
Joel Balcaen authored and Joel Balcaen committed Mar 26, 2024
1 parent 22b1e4e commit aca376f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lambdas/email_receipt_confirmation/lambda.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
locals {
lambda_function_name = "email-receipt-confirmation-dev"
ses_arn = "arn:aws:ses:${var.aws_region}:${data.aws_caller_identity.current.account_id}/lab.levio.cloud"
ses_arn = "arn:aws:ses:us-east-1:446872271111:identity/lab.levio.cloud"
timeout = 30
runtime = "python3.11"
powertools_layer_arn = "arn:aws:lambda:${var.aws_region}:017000801446:layer:AWSLambdaPowertoolsPythonV2:67"
Expand Down Expand Up @@ -54,7 +54,7 @@ module "lambda_function_container_image" {

ses = {
effect = "Allow"
resources = [local.ses_arn, "${local.ses_arn}/*:*"]
resources = [local.ses_arn]
actions = ["ses:SendEmail"]
}
}
Expand Down
2 changes: 1 addition & 1 deletion terraform/ses.tf
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ resource "aws_ses_receipt_rule" "form_rule" {
resource "aws_ses_receipt_rule" "send_confirmation_rule" {
name = local.confirmation_rule_name
rule_set_name = aws_ses_receipt_rule_set.main_rule_set.rule_set_name
recipients = [var.chat_rule_recipient,]
recipients = [var.chat_rule_recipient]
enabled = true
scan_enabled = true

Expand Down

0 comments on commit aca376f

Please sign in to comment.