Skip to content

Commit

Permalink
feat: switch www records to CNAME records
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Gleich <git@mattglei.ch>
  • Loading branch information
gleich committed Jul 5, 2024
1 parent cb9cad8 commit 396b903
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions mattglei.ch.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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" {
Expand Down
8 changes: 4 additions & 4 deletions mattgleich.com.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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" {
Expand Down

0 comments on commit 396b903

Please sign in to comment.