Skip to content

Commit

Permalink
fix(route53): multivalue txt records to allow certbot to add acme-cha…
Browse files Browse the repository at this point in the history
…llenge records
  • Loading branch information
esinx committed Mar 2, 2024
1 parent 75ba7f6 commit a015bd1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions terraform/modules/domain/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ resource "aws_route53_record" "spf" {
type = "TXT"
ttl = 3600
records = ["v=spf1 include:mailgun.org ~all"]
multivalue_answer_routing_policy = true
set_identifier = "spf"
}

resource "aws_route53_record" "mailgun" {
Expand All @@ -36,6 +38,8 @@ resource "aws_route53_record" "mailgun" {
type = "CNAME"
ttl = 3600
records = ["mailgun.org."]
multivalue_answer_routing_policy = true
set_identifier = "mailgun"
}

resource "aws_route53_record" "gmail" {
Expand Down

0 comments on commit a015bd1

Please sign in to comment.