Add DNS records suggested by fastmail in order to:
- set MX records for your domain and all subdomains,
- allow web mail to be accessed at mail.yourdomain.com,
- and add SPF and DKIM records to help prevent forged mail from your domain.
At present this module does not add entries for email, CalDAV and CardDAV clients to auto-discover settings.
- Terraform 1.6.2
- aws provider 5.22.0
resource "aws_route53_zone" "primary" {
name = var.domain
}
module "fastmail_dns" {
source = "stephenpaulger/fastmail-dns/aws"
version = "3.0.0"
zone_id = aws_route53_zone.primary.zone_id
domain = var.domain
}