Skip to content

Commit 0ad5b9b

Browse files
committed
CCM-10296: delete deprecated dns record. configure behavior_on_mx_failure
1 parent d2c0995 commit 0ad5b9b

File tree

3 files changed

+6
-13
lines changed

3 files changed

+6
-13
lines changed

infrastructure/terraform/components/app/route53_record_ses_validation_main.tf

Lines changed: 0 additions & 9 deletions
This file was deleted.
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
resource "aws_ses_domain_mail_from" "external" {
22
count = var.external_email_domain == null ? 0 : 1
33

4-
domain = aws_ses_domain_identity.external[0].domain
5-
mail_from_domain = "mail.${aws_ses_domain_identity.external[0].domain}"
4+
domain = aws_ses_domain_identity.external[0].domain
5+
mail_from_domain = "mail.${aws_ses_domain_identity.external[0].domain}"
6+
behavior_on_mx_failure = "RejectMessage"
67
}
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
resource "aws_ses_domain_mail_from" "main" {
2-
domain = aws_ses_domain_identity.main.domain
3-
mail_from_domain = "mail.${aws_ses_domain_identity.main.domain}"
2+
domain = aws_ses_domain_identity.main.domain
3+
mail_from_domain = "mail.${aws_ses_domain_identity.main.domain}"
4+
behavior_on_mx_failure = "RejectMessage"
45
}

0 commit comments

Comments
 (0)