Skip to content

Commit

Permalink
fix: utilize cnames instead of ipv4 and ipv6
Browse files Browse the repository at this point in the history
  • Loading branch information
cecilia-sanare authored Apr 10, 2024
1 parent b25bbe0 commit c8a6a6b
Showing 1 changed file with 4 additions and 14 deletions.
18 changes: 4 additions & 14 deletions tofu/zones.tf
Original file line number Diff line number Diff line change
Expand Up @@ -112,13 +112,8 @@ module "protontweaks_com" {
},
{
name = "api"
type = "A"
records = local.github_pages_ipv4
},
{
name = "api"
type = "AAAA"
records = local.github_pages_ipv6
type = "CNAME"
records = ["ribbon-studios.github.io"]
},
]
}
Expand All @@ -145,13 +140,8 @@ module "ribbonstudios_com" {
},
{
name = "zelda"
type = "A"
records = local.github_pages_ipv4
},
{
name = "zelda"
type = "AAAA"
records = local.github_pages_ipv6
type = "CNAME"
records = ["ribbon-studios.github.io"]
},
{
name = "silvy"
Expand Down

0 comments on commit c8a6a6b

Please sign in to comment.