From c8a6a6bf812fa9d3a6430b619f8803b7a640982e Mon Sep 17 00:00:00 2001 From: Ceci Date: Wed, 10 Apr 2024 11:38:46 -0500 Subject: [PATCH] fix: utilize cnames instead of ipv4 and ipv6 --- tofu/zones.tf | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/tofu/zones.tf b/tofu/zones.tf index 8aec43e..1316b7f 100644 --- a/tofu/zones.tf +++ b/tofu/zones.tf @@ -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"] }, ] } @@ -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"