infrastructure/terraform/0rng.one.tf

36 lines
839 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 = cloudflare_record.theorangeonenet_git.hostname
type = "CNAME"
2020-03-20 22:02:37 +00:00
ttl = 1
}
2020-03-20 22:29:43 +00:00
resource "cloudflare_record" "orngone_who" {
zone_id = cloudflare_zone.orngone.id
name = "who"
value = cloudflare_record.theorangeonenet_whoami.hostname
type = "CNAME"
ttl = 1
}
2020-05-08 21:45:27 +01:00
resource "cloudflare_record" "orngone_img" {
zone_id = cloudflare_zone.orngone.id
name = "img"
value = cloudflare_record.theorangeonenet_img.hostname
type = "CNAME"
2020-05-08 21:45:27 +01:00
ttl = 1
}
2021-01-22 21:29:27 +00:00
resource "cloudflare_record" "orngone_yourls" {
zone_id = cloudflare_zone.orngone.id
name = "@"
2022-01-21 21:52:21 +00:00
value = linode_instance.casey.ip_address
2021-01-22 21:29:27 +00:00
type = "A"
ttl = 1
}