Skip to content

Commit

Permalink
[DEV-1489] Add Active Campaign records (#752)
Browse files Browse the repository at this point in the history
  • Loading branch information
datalek authored Mar 18, 2024
1 parent 4cfeb09 commit 60e0be7
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/fluffy-rockets-sneeze.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"infrastructure": minor
---

[DEV-1489] - Add Active Campaign records
38 changes: 37 additions & 1 deletion apps/infrastructure/src/route53.tf
Original file line number Diff line number Diff line change
Expand Up @@ -126,4 +126,40 @@ module "cms_dns_records" {
}
}
]
}
}

# Active Campaign Records
module "active_campaign_dns_records" {
source = "git::https://github.com/terraform-aws-modules/terraform-aws-route53.git//modules/records?ref=bc63328714550fd903d2574b263833c9ce1c867e" # v2.11.0"

zone_id = aws_route53_zone.dev_portal.id
# Create only on production environment
create = var.environment == "prod"

records = [
{
name = "acdkim1._domainkey"
type = "CNAME"
records = ["dkim.acdkim1.acems1.com"]
ttl = 3600
},
{
name = "acdkim2._domainkey"
type = "CNAME"
records = ["dkim.acdkim2.acems1.com"]
ttl = 3600
},
{
name = "em-3628291"
type = "CNAME"
records = ["cmd.emsend1.com"]
ttl = 3600
},
{
name = "_dmarc"
type = "TXT"
records = ["v=DMARC1;p=none;"]
ttl = 3600
}
]
}

0 comments on commit 60e0be7

Please sign in to comment.