Skip to content

Commit

Permalink
Fix DNS syntax/record type
Browse files Browse the repository at this point in the history
  • Loading branch information
strugee committed Apr 10, 2024
1 parent 7ed4dad commit 4772687
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions env/dns.tf
Original file line number Diff line number Diff line change
Expand Up @@ -150,13 +150,12 @@ resource "aws_route53_record" "mailu-test-dmarc" {
]
}

resource "aws_route53_record" "Mailu server" {
resource "aws_route53_record" "mailu-server" {
zone_id = aws_route53_zone.apex.id
name = "mail.${var.zone_name}"
type = "A"
# TODO increase all these Mailu TTLs
type = "CNAME"
ttl = "300"
records = [
"140.211.167.187"
"mailu.host.${var.zone_name}"
]
}

0 comments on commit 4772687

Please sign in to comment.