We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 47a1d59 + 805818d commit bff883cCopy full SHA for bff883c
aws/ses/route53.tf
@@ -15,3 +15,13 @@ resource "aws_route53_record" "domain_amazonses_dkim_record" {
15
ttl = "3600"
16
records = ["${element(aws_ses_domain_dkim.dkim.dkim_tokens, count.index)}.dkim.amazonses.com"]
17
}
18
+
19
+resource "aws_route53_record" "domain_amazonses_feedback_mx_record" {
20
+ count = (var.route53_zone != null && var.mail_from_domain != null) ? 1 : 0
21
22
+ zone_id = var.route53_zone
23
+ name = var.mail_from_domain
24
+ type = "MX"
25
+ records = ["10 feedback-smtp.${var.region}.amazonaws.com", ]
26
+ ttl = 60
27
+}
0 commit comments