infrastructure/terraform/0rng.one.tf
2021-01-22 21:29:27 +00:00

43 lines
904 B
HCL

resource "cloudflare_zone" "orngone" {
zone = "0rng.one"
}
resource "cloudflare_record" "orngone_git" {
zone_id = cloudflare_zone.orngone.id
name = "git"
value = vultr_server.casey.main_ip
type = "A"
ttl = 1
}
resource "cloudflare_record" "orngone_who" {
zone_id = cloudflare_zone.orngone.id
name = "who"
value = vultr_server.casey.main_ip
type = "A"
ttl = 1
}
resource "cloudflare_record" "orngone_img" {
zone_id = cloudflare_zone.orngone.id
name = "img"
value = var.walker_ip
type = "A"
ttl = 1
}
resource "cloudflare_record" "orngone_dl" {
zone_id = cloudflare_zone.orngone.id
name = "dl"
value = var.walker_ip
type = "A"
ttl = 1
}
resource "cloudflare_record" "orngone_yourls" {
zone_id = cloudflare_zone.orngone.id
name = "@"
value = vultr_server.casey.main_ip
type = "A"
ttl = 1
}