infrastructure/terraform/0rng.one.tf
Jake Howard bbfe85b2c8
Update vultr provider
This was a pretty breaking change which required re-importing most of its state
2021-03-23 21:22:31 +00:00

35 lines
771 B
HCL

resource "cloudflare_zone" "orngone" {
zone = "0rng.one"
}
resource "cloudflare_record" "orngone_git" {
zone_id = cloudflare_zone.orngone.id
name = "git"
value = vultr_instance.casey.main_ip
type = "A"
ttl = 1
}
resource "cloudflare_record" "orngone_who" {
zone_id = cloudflare_zone.orngone.id
name = "who"
value = vultr_instance.casey.main_ip
type = "A"
ttl = 1
}
resource "cloudflare_record" "orngone_img" {
zone_id = cloudflare_zone.orngone.id
name = "img"
value = linode_instance.grimes.ip_address
type = "A"
ttl = 1
}
resource "cloudflare_record" "orngone_yourls" {
zone_id = cloudflare_zone.orngone.id
name = "@"
value = vultr_instance.casey.main_ip
type = "A"
ttl = 1
}