File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -42,6 +42,7 @@ module "ses_identity" {
4242
4343| Name | Type |
4444| ------| ------|
45+ | [ aws_route53_record.dmarc] ( https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/route53_record ) | resource |
4546| [ aws_route53_record.ndr_ses_dkim_record] ( https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/route53_record ) | resource |
4647| [ aws_route53_record.ses_mail_from_mx] ( https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/route53_record ) | resource |
4748| [ aws_route53_record.ses_mail_from_spf] ( https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/route53_record ) | resource |
Original file line number Diff line number Diff line change @@ -59,3 +59,13 @@ resource "aws_route53_record" "ses_mail_from_spf" {
5959 " v=spf1 include:amazonses.com -all"
6060 ]
6161}
62+
63+ resource "aws_route53_record" "dmarc" {
64+ count = var. enable ? 1 : 0
65+ zone_id = var. zone_id
66+ name = " _dmarc.${ aws_ses_domain_identity . ndr_ses [0 ]. domain } "
67+ type = " TXT"
68+ ttl = 300
69+
70+ records = [" v=DMARC1; p=none; adkim=s; aspf=s" ]
71+ }
You can’t perform that action at this time.
0 commit comments