Skip to content

Commit

Permalink
feat: clean up old domains and api->dev
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 2, 2024
1 parent 7394bee commit 4382056
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 145 deletions.
82 changes: 6 additions & 76 deletions mattglei.ch.tf
Original file line number Diff line number Diff line change
Expand Up @@ -21,90 +21,34 @@ resource "cloudflare_record" "mattgleich_root_mail_backup" {
priority = 20
}

resource "cloudflare_record" "mattgleich_api_wildcard" {
resource "cloudflare_record" "mattgleich_dev_wildcard" {
zone_id = var.zone_id_mattgleich
type = "A"
name = "*.api"
name = "*.dev"
value = "147.182.130.61"
}

resource "cloudflare_record" "mattgleich_api" {
resource "cloudflare_record" "mattgleich_dev" {
zone_id = var.zone_id_mattgleich
type = "A"
name = "api"
name = "dev"
value = "147.182.130.61"
}

resource "cloudflare_record" "mattgleich_github" {
resource "cloudflare_record" "mattgleich_coolify" {
zone_id = var.zone_id_mattgleich
type = "A"
name = "github"
value = "8.8.8.8"
}

resource "cloudflare_record" "mattgleich_inspiration" {
zone_id = var.zone_id_mattgleich
type = "A"
name = "inspiration"
value = "8.8.8.8"
}

resource "cloudflare_record" "mattgleich_wild_school" {
zone_id = var.zone_id_mattgleich
type = "A"
name = "*.school"
value = "76.76.21.21"
}

resource "cloudflare_record" "mattgleich_school" {
zone_id = var.zone_id_mattgleich
type = "A"
name = "school"
value = "76.76.21.21"
}

resource "cloudflare_record" "mattgleich_ghs_store" {
zone_id = var.zone_id_mattgleich
type = "A"
name = "ghs-store"
value = "76.76.21.21"
}

resource "cloudflare_record" "mattgleich_api_coolify" {
zone_id = var.zone_id_mattgleich
type = "A"
name = "coolify.api"
name = "coolify"
value = "147.182.130.61"
}

resource "cloudflare_record" "mattgleich_linkedin" {
zone_id = var.zone_id_mattgleich
type = "A"
name = "linkedin"
value = "8.8.8.8"
}

resource "cloudflare_record" "mattgleich_www" {
zone_id = var.zone_id_mattgleich
type = "A"
name = "www"
value = "76.76.21.21"
}

resource "cloudflare_record" "mattgleich_optic_docs" {
zone_id = var.zone_id_mattgleich
type = "A"
name = "optic.docs"
value = "76.76.21.21"
}

resource "cloudflare_record" "mattgleich_from" {
zone_id = var.zone_id_mattgleich
type = "A"
name = "from"
value = "76.76.21.21"
}

resource "cloudflare_record" "mattgleich_svg_animation_tester" {
zone_id = var.zone_id_mattgleich
type = "A"
Expand Down Expand Up @@ -133,20 +77,6 @@ resource "cloudflare_record" "mattgleich_javelin" {
value = "76.76.21.21"
}

resource "cloudflare_record" "mattgleich_daily_poll_website" {
zone_id = var.zone_id_mattgleich
type = "A"
name = "daily-poll"
value = "76.76.21.21"
}

resource "cloudflare_record" "mattgleich_ghs_games_website" {
zone_id = var.zone_id_mattgleich
type = "A"
name = "ghs-games"
value = "76.76.21.21"
}

resource "cloudflare_record" "mattgleich_grad" {
zone_id = var.zone_id_mattgleich
type = "A"
Expand Down
75 changes: 6 additions & 69 deletions mattgleich.com.tf
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,17 @@ resource "cloudflare_record" "mattgleich_com_root_mail_backup" {
priority = 20
}

resource "cloudflare_record" "mattgleich_com_api_wildcard" {
resource "cloudflare_record" "mattgleich_com_dev_wildcard" {
zone_id = var.zone_id_mattgleich_com
type = "A"
name = "*.api"
name = "*.dev"
value = "147.182.130.61"
}

resource "cloudflare_record" "mattgleich_com_api" {
resource "cloudflare_record" "mattgleich_com_dev" {
zone_id = var.zone_id_mattgleich_com
type = "A"
name = "api"
name = "dev"
value = "147.182.130.61"
}

Expand All @@ -42,62 +42,13 @@ resource "cloudflare_record" "mattgleich_com_github" {
value = "8.8.8.8"
}

resource "cloudflare_record" "mattgleich_com_inspiration" {
resource "cloudflare_record" "mattgleich_com_coolify" {
zone_id = var.zone_id_mattgleich_com
type = "A"
name = "inspiration"
value = "8.8.8.8"
}

resource "cloudflare_record" "mattgleich_com_wild_school" {
zone_id = var.zone_id_mattgleich_com
type = "A"
name = "*.school"
value = "76.76.21.21"
}

resource "cloudflare_record" "mattgleich_com_school" {
zone_id = var.zone_id_mattgleich_com
type = "A"
name = "school"
value = "76.76.21.21"
}

resource "cloudflare_record" "mattgleich_com_ghs_store" {
zone_id = var.zone_id_mattgleich_com
type = "A"
name = "ghs-store"
value = "76.76.21.21"
}

resource "cloudflare_record" "mattgleich_com_api_coolify" {
zone_id = var.zone_id_mattgleich_com
type = "A"
name = "coolify.api"
name = "coolify.dev"
value = "147.182.130.61"
}

resource "cloudflare_record" "mattgleich_com_linkedin" {
zone_id = var.zone_id_mattgleich_com
type = "A"
name = "linkedin"
value = "8.8.8.8"
}

resource "cloudflare_record" "mattgleich_com_www" {
zone_id = var.zone_id_mattgleich_com
type = "A"
name = "www"
value = "76.76.21.21"
}

resource "cloudflare_record" "mattgleich_com_optic_docs" {
zone_id = var.zone_id_mattgleich_com
type = "A"
name = "optic.docs"
value = "76.76.21.21"
}

resource "cloudflare_record" "mattgleich_com_from" {
zone_id = var.zone_id_mattgleich_com
type = "A"
Expand Down Expand Up @@ -133,20 +84,6 @@ resource "cloudflare_record" "mattgleich_com_javelin" {
value = "76.76.21.21"
}

resource "cloudflare_record" "mattgleich_com_daily_poll_website" {
zone_id = var.zone_id_mattgleich_com
type = "A"
name = "daily-poll"
value = "76.76.21.21"
}

resource "cloudflare_record" "mattgleich_com_ghs_games_website" {
zone_id = var.zone_id_mattgleich_com
type = "A"
name = "ghs-games"
value = "76.76.21.21"
}

resource "cloudflare_record" "mattgleich_com_grad" {
zone_id = var.zone_id_mattgleich_com
type = "A"
Expand Down

0 comments on commit 4382056

Please sign in to comment.