From 396b90348aad3dea2aa6942034d12a2f6e74dcf4 Mon Sep 17 00:00:00 2001 From: Matt Gleich Date: Fri, 5 Jul 2024 00:18:55 -0400 Subject: [PATCH] feat: switch www records to CNAME records Signed-off-by: Matt Gleich --- mattglei.ch.tf | 4 ++-- mattgleich.com.tf | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/mattglei.ch.tf b/mattglei.ch.tf index b91a165..1e89272 100644 --- a/mattglei.ch.tf +++ b/mattglei.ch.tf @@ -44,9 +44,9 @@ resource "cloudflare_record" "mattgleich_coolify" { resource "cloudflare_record" "mattgleich_www" { zone_id = var.zone_id_mattgleich - type = "A" + type = "CNAME" name = "www" - value = "76.76.21.21" + value = "cname.vercel-dns.com." } resource "cloudflare_record" "mattgleich_svg_animation_tester" { diff --git a/mattgleich.com.tf b/mattgleich.com.tf index 5e9b9d3..a2aa1a2 100644 --- a/mattgleich.com.tf +++ b/mattgleich.com.tf @@ -35,11 +35,11 @@ resource "cloudflare_record" "mattgleich_com_dev" { value = "147.182.130.61" } -resource "cloudflare_record" "mattgleich_com_from" { +resource "cloudflare_record" "mattgleich_com_www" { zone_id = var.zone_id_mattgleich_com - type = "A" - name = "from" - value = "76.76.21.21" + type = "CNAME" + name = "www" + value = "cname.vercel-dns.com." } resource "cloudflare_record" "mattgleich_com_svg_animation_tester" {