Skip to content

Commit 3e21d81

Browse files
author
Nick Campanini
committed
Merge branch 'main' into feat/DC-152-update-mailing-address
2 parents 810c151 + 2a9d4f5 commit 3e21d81

10 files changed

Lines changed: 529 additions & 9 deletions

File tree

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -456,6 +456,8 @@ output
456456
**/*.tfplan
457457
**/crash.log
458458
**/crash.*.log
459+
# Lambda zip artifacts created by the archive_file data source during tofu plan/apply
460+
tofu/modules/sebt_ses/lambda/*.zip
459461

460462

461463
# temporary files

tofu/config/dev-co/.terraform.lock.hcl

Lines changed: 18 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tofu/config/dev-dc/.terraform.lock.hcl

Lines changed: 18 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tofu/modules/sebt_application/main.tf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,9 @@ module "ses" {
183183

184184
sender_email = var.sender_email
185185
allowed_recipients = var.ses_allowed_recipients
186+
187+
ecs_cluster_name = module.api.cluster_name
188+
ecs_service_name = module.api.cluster_name
186189
}
187190

188191
module "cloudfront_waf" {

tofu/modules/sebt_ses/data.tf

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,9 @@
1+
data "aws_caller_identity" "current" {}
12
data "aws_partition" "current" {}
23
data "aws_region" "current" {}
4+
5+
data "archive_file" "rotation_lambda" {
6+
type = "zip"
7+
source_file = "${path.module}/lambda/rotate_smtp_credentials.py"
8+
output_path = "${path.module}/lambda/rotate_smtp_credentials.zip"
9+
}

0 commit comments

Comments
 (0)