Skip to content

Commit 7bcd4de

Browse files
committed
[PRMP-1718] Change ses sending address
1 parent 196bb21 commit 7bcd4de

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

infrastructure/lambda-send-feedback.tf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
locals {
22
ses_feedback_sender_email_address = (
3-
local.is_production ? "feedback@${var.certificate_domain}" :
43
local.is_sandbox ? "feedback@ndr-dev.${var.domain}" :
54
"feedback@${terraform.workspace}.${var.domain}"
65
)

infrastructure/ses.tf

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
locals {
22
domain_prefix = (
3-
local.is_production ? var.environment :
4-
local.is_sandbox ? "ndr-dev" :
5-
terraform.workspace
3+
local.is_production ? var.environment : terraform.workspace
64
)
75

8-
domain = local.is_production ? "${var.domain}" : "${local.domain_prefix}.${var.domain}"
6+
domain = "${local.domain_prefix}.${var.domain}"
97
}
108

119
module "ndr-feedback-mailbox" {

0 commit comments

Comments
 (0)