Skip to content

Commit

Permalink
Add a wildcard record CNAMEing to Dokku (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
strugee authored Mar 18, 2024
1 parent 1c4024a commit ba3c7e4
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions dns.tf
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,9 @@ resource "aws_ses_email_identity" "email" {
email = "sre@seagl.org"
}

# setup alias for Matrix room aliasing
resource "aws_route53_record" "alias" {
resource "aws_route53_record" "dokku_wildcard" {
zone_id = aws_route53_zone.apex.id
name = "alias.seagl.org"
name = "*.seagl.org"
type = "CNAME"
ttl = "300"
records = [
Expand Down Expand Up @@ -191,13 +190,3 @@ resource "aws_route53_record" "mailu-test-dmarc" {
"v=DMARC1; p=reject; rua=mailto:dmarc@mail-test.seagl.org; ruf=mailto:dmarc@mail-test.seagl.org; adkim=s; aspf=s"
]
}

resource "aws_route53_record" "pretalx" {
zone_id = aws_route53_zone.apex.id
name = "pretalx.seagl.org"
type = "CNAME"
ttl = "300"
records = [
"dokku.seagl.org"
]
}

0 comments on commit ba3c7e4

Please sign in to comment.