Skip to content

Commit

Permalink
fix: add missing spf/dkim records (#361)
Browse files Browse the repository at this point in the history
  • Loading branch information
gcharest authored Jan 23, 2024
1 parent 2ede7a5 commit 091c324
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion terraform/cds-snc.ca.tf
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ resource "aws_route53_record" "cds-snc-ca-TXT" {
type = "TXT"
records = [
"MS=ms61032497",
"v=spf1 include:_spf.google.com include:email.freshdesk.com ~all",
"v=spf1 include:_spf.google.com include:email.freshdesk.com include:spf.happyfox.com ~all",
"apple-domain-verification=4YW6F7vBgCWOVoTh",
"miro-verification=b613aeb17bf7dfe250cf22d5483c1a352ea0c2f1"
]
Expand Down Expand Up @@ -302,6 +302,27 @@ resource "aws_route53_record" "freshdesk-dkim-04-cds-snc-ca-CNAME" {
ttl = "1800"
}

# Happyfox DKIM records
resource "aws_route53_record" "happyfox-dkim-01-cds-snc-ca-CNAME" {
zone_id = aws_route53_zone.cds-snc-ca-public.zone_id
name = "happyfox1._domainkey.cds-snc.ca"
type = "CNAME"
records = [
"happyfox1._domainkey.happyfox.com"
]
ttl = "1800"
}

resource "aws_route53_record" "happyfox-dkim-02-cds-snc-ca-CNAME" {
zone_id = aws_route53_zone.cds-snc-ca-public.zone_id
name = "happyfox2._domainkey.cds-snc.ca"
type = "CNAME"
records = [
"happyfox2._domainkey.happyfox.com"
]
ttl = "1800"
}

# status page
resource "aws_route53_record" "status-cds-snc-CNAME" {
zone_id = aws_route53_zone.cds-snc-ca-public.zone_id
Expand Down

0 comments on commit 091c324

Please sign in to comment.