Skip to content

Commit

Permalink
chore: enabling http3 and ipv6 aaaa
Browse files Browse the repository at this point in the history
  • Loading branch information
kiraum committed Oct 5, 2024
1 parent 7166737 commit befb390
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
10 changes: 10 additions & 0 deletions environments/prod/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,16 @@ module "route53" {
evaluate_target_health = false
}
},
# AAAA record for root domain
{
name = ""
type = "AAAA"
alias = {
name = "dpop20p5u4112.cloudfront.net"
zone_id = "Z2FDTNDATAQYW2"
evaluate_target_health = false
}
},
# CNAME record for www subdomain
{
name = "www"
Expand Down
1 change: 1 addition & 0 deletions modules/static_website/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@ resource "aws_cloudfront_distribution" "static_site" {

enabled = true
is_ipv6_enabled = true
http_version = "http2and3"
default_root_object = "index.html"
aliases = [var.domain_name, "*.${var.domain_name}"]

Expand Down

0 comments on commit befb390

Please sign in to comment.