Use sys hostname for walker domains
This commit is contained in:
parent
dc75f0942a
commit
8f9e89d4f6
2 changed files with 20 additions and 18 deletions
|
@ -188,11 +188,12 @@ resource "cloudflare_record" "jakehowardtech_matrix_admin" {
|
||||||
ttl = 1
|
ttl = 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Cloudflare supports CNAME flattening - so this is ok
|
||||||
resource "cloudflare_record" "jakehowardtech_apex" {
|
resource "cloudflare_record" "jakehowardtech_apex" {
|
||||||
zone_id = cloudflare_zone.jakehowardtech.id
|
zone_id = cloudflare_zone.jakehowardtech.id
|
||||||
name = "@"
|
name = "@"
|
||||||
value = vultr_instance.walker.main_ip
|
value = cloudflare_record.sys_domain_walker.hostname
|
||||||
type = "A"
|
type = "CNAME"
|
||||||
ttl = 1
|
ttl = 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -91,11 +91,12 @@ resource "cloudflare_record" "theorangeonenet_dmarc_report" {
|
||||||
ttl = 1
|
ttl = 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Cloudflare supports CNAME flattening - so this is ok
|
||||||
resource "cloudflare_record" "theorangeonenet_apex" {
|
resource "cloudflare_record" "theorangeonenet_apex" {
|
||||||
zone_id = cloudflare_zone.theorangeonenet.id
|
zone_id = cloudflare_zone.theorangeonenet.id
|
||||||
name = "@"
|
name = "@"
|
||||||
value = vultr_instance.walker.main_ip
|
value = cloudflare_record.sys_domain_walker.hostname
|
||||||
type = "A"
|
type = "CNAME"
|
||||||
ttl = 1
|
ttl = 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -119,8 +120,8 @@ resource "cloudflare_record" "theorangeonenet_srv_matrix" {
|
||||||
resource "cloudflare_record" "theorangeonenet_img" {
|
resource "cloudflare_record" "theorangeonenet_img" {
|
||||||
zone_id = cloudflare_zone.theorangeonenet.id
|
zone_id = cloudflare_zone.theorangeonenet.id
|
||||||
name = "img"
|
name = "img"
|
||||||
value = vultr_instance.walker.main_ip
|
value = cloudflare_record.sys_domain_walker.hostname
|
||||||
type = "A"
|
type = "CNAME"
|
||||||
ttl = 1
|
ttl = 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -135,40 +136,40 @@ resource "cloudflare_record" "theorangeonenet_matrix" {
|
||||||
resource "cloudflare_record" "theorangeonenet_dl" {
|
resource "cloudflare_record" "theorangeonenet_dl" {
|
||||||
zone_id = cloudflare_zone.theorangeonenet.id
|
zone_id = cloudflare_zone.theorangeonenet.id
|
||||||
name = "dl"
|
name = "dl"
|
||||||
value = vultr_instance.walker.main_ip
|
value = cloudflare_record.sys_domain_walker.hostname
|
||||||
type = "A"
|
type = "CNAME"
|
||||||
ttl = 1
|
ttl = 1
|
||||||
}
|
}
|
||||||
|
|
||||||
resource "cloudflare_record" "theorangeonenet_bg" {
|
resource "cloudflare_record" "theorangeonenet_bg" {
|
||||||
zone_id = cloudflare_zone.theorangeonenet.id
|
zone_id = cloudflare_zone.theorangeonenet.id
|
||||||
name = "bg"
|
name = "bg"
|
||||||
value = vultr_instance.walker.main_ip
|
value = cloudflare_record.sys_domain_walker.hostname
|
||||||
type = "A"
|
type = "CNAME"
|
||||||
ttl = 1
|
ttl = 1
|
||||||
}
|
}
|
||||||
|
|
||||||
resource "cloudflare_record" "theorangeonenet_upload" {
|
resource "cloudflare_record" "theorangeonenet_upload" {
|
||||||
zone_id = cloudflare_zone.theorangeonenet.id
|
zone_id = cloudflare_zone.theorangeonenet.id
|
||||||
name = "upload"
|
name = "upload"
|
||||||
value = vultr_instance.walker.main_ip
|
value = cloudflare_record.sys_domain_walker.hostname
|
||||||
type = "A"
|
type = "CNAME"
|
||||||
ttl = 1
|
ttl = 1
|
||||||
}
|
}
|
||||||
|
|
||||||
resource "cloudflare_record" "theorangeonenet_plausible" {
|
resource "cloudflare_record" "theorangeonenet_plausible" {
|
||||||
zone_id = cloudflare_zone.theorangeonenet.id
|
zone_id = cloudflare_zone.theorangeonenet.id
|
||||||
name = "plausible"
|
name = "plausible"
|
||||||
value = vultr_instance.walker.main_ip
|
value = cloudflare_record.sys_domain_walker.hostname
|
||||||
type = "A"
|
type = "CNAME"
|
||||||
ttl = 1
|
ttl = 1
|
||||||
}
|
}
|
||||||
|
|
||||||
resource "cloudflare_record" "theorangeonenet_plausible_bare" {
|
resource "cloudflare_record" "theorangeonenet_plausible_bare" {
|
||||||
zone_id = cloudflare_zone.theorangeonenet.id
|
zone_id = cloudflare_zone.theorangeonenet.id
|
||||||
name = "elbisualp"
|
name = "elbisualp"
|
||||||
value = vultr_instance.walker.main_ip
|
value = cloudflare_record.sys_domain_walker.hostname
|
||||||
type = "A"
|
type = "CNAME"
|
||||||
ttl = 1
|
ttl = 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -223,8 +224,8 @@ resource "cloudflare_record" "theorangeonenet_google_site_verification" {
|
||||||
resource "cloudflare_record" "theorangeonenet_commento" {
|
resource "cloudflare_record" "theorangeonenet_commento" {
|
||||||
zone_id = cloudflare_zone.theorangeonenet.id
|
zone_id = cloudflare_zone.theorangeonenet.id
|
||||||
name = "commento"
|
name = "commento"
|
||||||
value = vultr_instance.walker.main_ip
|
value = cloudflare_record.sys_domain_walker.hostname
|
||||||
type = "A"
|
type = "CNAME"
|
||||||
ttl = 1
|
ttl = 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue