infrastructure/terraform/sys_domains.tf

24 lines
594 B
Terraform
Raw Normal View History

2022-01-19 08:29:56 +00:00
resource "cloudflare_record" "sys_domain_casey" {
zone_id = cloudflare_zone.theorangeonenet.id
name = "casey.sys"
2022-01-21 21:52:21 +00:00
value = linode_instance.casey.ip_address
2022-01-19 08:29:56 +00:00
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_grimes" {
zone_id = cloudflare_zone.theorangeonenet.id
name = "grimes.sys"
value = vultr_instance.grimes.main_ip
type = "A"
ttl = 1
}