Skip to content

Commit

Permalink
chore: move www from cname to a/aaa
Browse files Browse the repository at this point in the history
  • Loading branch information
kiraum committed Oct 5, 2024
1 parent f9352e5 commit e634e8c
Showing 1 changed file with 18 additions and 5 deletions.
23 changes: 18 additions & 5 deletions environments/prod/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,25 @@ module "route53" {
evaluate_target_health = false
}
},
# CNAME record for www subdomain
# A record for www domain
{
name = "www"
type = "CNAME"
ttl = 300
records = ["dpop20p5u4112.cloudfront.net"]
name = "www"
type = "A"
alias = {
name = "dpop20p5u4112.cloudfront.net"
zone_id = "Z2FDTNDATAQYW2"
evaluate_target_health = false
}
},
# AAAA record for www domain
{
name = "www"
type = "AAAA"
alias = {
name = "dpop20p5u4112.cloudfront.net"
zone_id = "Z2FDTNDATAQYW2"
evaluate_target_health = false
}
},
{
name = "_443._tcp"
Expand Down

0 comments on commit e634e8c

Please sign in to comment.