ses apply

This commit is contained in:
Jun-te Kim 2025-12-29 14:19:16 +00:00
parent 541b51b3f6
commit 62aff496f7

View file

@ -184,3 +184,69 @@ resource "aws_route53_record" "txt_recallplanner" {
records = ["google-site-verification=jmj-PFshzPJy4IK1z7InBIQjj6RKDW0cIBZuaPSbWCc"] records = ["google-site-verification=jmj-PFshzPJy4IK1z7InBIQjj6RKDW0cIBZuaPSbWCc"]
zone_id = aws_route53_zone.recallplanner.zone_id zone_id = aws_route53_zone.recallplanner.zone_id
} }
resource "aws_route53_record" "ses_verify_juntekim" {
zone_id = aws_route53_zone.juntekim.zone_id
name = "_amazonses.juntekim.com"
type = "TXT"
ttl = 300
records = [
"P8BB0Cxe0PUEReB+p0lZmugTSrSzI5NvyAit7p5KOqU="
]
}
resource "aws_route53_record" "ses_dkim_1" {
zone_id = aws_route53_zone.juntekim.zone_id
name = "htltgp3wq7qesqii3mshd5puudc2wgcw._domainkey.juntekim.com"
type = "CNAME"
ttl = 300
records = ["htltgp3wq7qesqii3mshd5puudc2wgcw.dkim.amazonses.com"]
}
resource "aws_route53_record" "ses_dkim_2" {
zone_id = aws_route53_zone.juntekim.zone_id
name = "tw6uztjlg4xsrj5zfqbantsjzn5xzmyo._domainkey.juntekim.com"
type = "CNAME"
ttl = 300
records = ["tw6uztjlg4xsrj5zfqbantsjzn5xzmyo.dkim.amazonses.com"]
}
resource "aws_route53_record" "ses_dkim_3" {
zone_id = aws_route53_zone.juntekim.zone_id
name = "xffxwo2oa3opuhomewu7b3pbimgxtv3p._domainkey.juntekim.com"
type = "CNAME"
ttl = 300
records = ["xffxwo2oa3opuhomewu7b3pbimgxtv3p.dkim.amazonses.com"]
}
resource "aws_route53_record" "ses_mail_from_mx" {
zone_id = aws_route53_zone.juntekim.zone_id
name = "mail.juntekim.com"
type = "MX"
ttl = 300
records = [
"10 feedback-smtp.eu-west-2.amazonses.com"
]
}
resource "aws_route53_record" "spf_juntekim" {
zone_id = aws_route53_zone.juntekim.zone_id
name = "juntekim.com"
type = "TXT"
ttl = 300
records = [
"v=spf1 include:amazonses.com include:_spf.google.com ~all"
]
}
resource "aws_route53_record" "dmarc_juntekim" {
zone_id = aws_route53_zone.juntekim.zone_id
name = "_dmarc.juntekim.com"
type = "TXT"
ttl = 300
records = [
"v=DMARC1; p=none; rua=mailto:postmaster@juntekim.com; ruf=mailto:postmaster@juntekim.com; fo=1"
]
}