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 bff883c + 472e488 commit 11f2625Copy full SHA for 11f2625
aws/ses/route53.tf
@@ -22,6 +22,16 @@ resource "aws_route53_record" "domain_amazonses_feedback_mx_record" {
22
zone_id = var.route53_zone
23
name = var.mail_from_domain
24
type = "MX"
25
- records = ["10 feedback-smtp.${var.region}.amazonaws.com", ]
+ records = ["10 feedback-smtp.${var.region}.amazonaws.com"]
26
+ ttl = 60
27
+}
28
+
29
+resource "aws_route53_record" "domain_amazonses_feedback_txt_record" {
30
+ count = (var.route53_zone != null && var.mail_from_domain != null) ? 1 : 0
31
32
+ zone_id = var.route53_zone
33
+ name = var.mail_from_domain
34
+ type = "TXT"
35
+ records = ["v=spf1 include:amazonses.com ~all"]
36
ttl = 60
37
}
0 commit comments