You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

83 lines
1.4 KiB

resource "cloudflare_record" "floyd" {
zone_id = cloudflare_zone.mrkaran_dev.id
name = "floyd"
type = "A"
ttl = "1"
proxied = "false"
value = var.ips["floyd_floating"]
}
resource "cloudflare_record" "nomad" {
zone_id = cloudflare_zone.mrkaran_dev.id
name = "nomad"
type = "A"
ttl = "1"
proxied = "false"
value = var.ips["floyd_tailscale"]
}
resource "cloudflare_record" "consul" {
zone_id = cloudflare_zone.mrkaran_dev.id
name = "consul"
type = "A"
ttl = "1"
proxied = "false"
value = var.ips["floyd_tailscale"]
}
resource "cloudflare_record" "website" {
zone_id = cloudflare_zone.mrkaran_dev.id
name = "@"
type = "CNAME"
ttl = "1"
proxied = "false"
value = "mrkaran.netlify.app"
}
resource "cloudflare_record" "pihole" {
zone_id = cloudflare_zone.mrkaran_dev.id
name = "pihole"
type = "A"
ttl = "1"
proxied = "false"
value = var.ips["floyd_tailscale"]
}
resource "cloudflare_record" "shynet" {
zone_id = cloudflare_zone.mrkaran_dev.id
name = "shynet"
type = "A"
ttl = "1"
proxied = "true"
# TODO: shift to floating IP
value = "68.183.87.4"
}
resource "cloudflare_record" "nextcloud" {
zone_id = cloudflare_zone.mrkaran_dev.id
name = "nextcloud"
type = "A"
ttl = "1"
proxied = "true"
# TODO: shift to floating IP
value = "68.183.87.4"
}