infrastructure/terraform/0rng.one.tf

44 lines
904 B
Terraform
Raw Normal View History

2020-03-20 22:02:37 +00:00
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
}
2020-03-20 22:29:43 +00:00
resource "cloudflare_record" "orngone_who" {
zone_id = cloudflare_zone.orngone.id
name = "who"
value = vultr_server.casey.main_ip
type = "A"
ttl = 1
}
2020-05-08 21:45:27 +01:00
resource "cloudflare_record" "orngone_img" {
zone_id = cloudflare_zone.orngone.id
name = "img"
value = var.walker_ip
2020-05-08 21:45:27 +01:00
type = "A"
ttl = 1
}
resource "cloudflare_record" "orngone_dl" {
zone_id = cloudflare_zone.orngone.id
name = "dl"
2020-08-27 17:36:59 +01:00
value = var.walker_ip
2020-05-08 21:45:27 +01:00
type = "A"
ttl = 1
}
2021-01-22 21:29:27 +00:00
resource "cloudflare_record" "orngone_yourls" {
zone_id = cloudflare_zone.orngone.id
name = "@"
value = vultr_server.casey.main_ip
type = "A"
ttl = 1
}