Jake Howard
6a14679edf
For some reason, ipv6 doesn't really work with my current setup. It'll change at another time, so it's future me's problem
39 lines
1,012 B
HCL
39 lines
1,012 B
HCL
resource "cloudflare_record" "sys_domain_casey" {
|
|
zone_id = cloudflare_zone.theorangeonenet.id
|
|
name = "casey.sys"
|
|
value = linode_instance.casey.ip_address
|
|
type = "A"
|
|
ttl = 1
|
|
}
|
|
|
|
resource "cloudflare_record" "sys_domain_walker" {
|
|
zone_id = cloudflare_zone.theorangeonenet.id
|
|
name = "walker.sys"
|
|
value = vultr_instance.walker.main_ip
|
|
type = "A"
|
|
ttl = 1
|
|
}
|
|
|
|
resource "cloudflare_record" "sys_domain_casey_v6" {
|
|
zone_id = cloudflare_zone.theorangeonenet.id
|
|
name = "casey.sys"
|
|
value = split("/", linode_instance.casey.ipv6)[0]
|
|
type = "AAAA"
|
|
ttl = 1
|
|
}
|
|
|
|
resource "cloudflare_record" "sys_domain_walker_v6" {
|
|
zone_id = cloudflare_zone.theorangeonenet.id
|
|
name = "walker.sys"
|
|
value = vultr_instance.walker.v6_main_ip
|
|
type = "AAAA"
|
|
ttl = 1
|
|
}
|
|
|
|
resource "cloudflare_record" "sys_domain_pve" {
|
|
zone_id = cloudflare_zone.theorangeonenet.id
|
|
name = "pve.sys"
|
|
value = linode_instance.casey.ip_address
|
|
type = "A"
|
|
ttl = 1
|
|
}
|