add ahosking.com updates

This commit is contained in:
Alexander Hosking 2021-10-13 10:58:41 -04:00
parent 3300aea9f8
commit 34889b2214

View File

@ -23,7 +23,7 @@ resource "cloudflare_record" "ahosking_wildcard" {
name = "*.ahosking.com"
type = "A"
ttl = "1"
value = var.site5_ip
value = var.home_ip
}
resource "cloudflare_record" "ahosking_www" {
@ -32,6 +32,42 @@ resource "cloudflare_record" "ahosking_www" {
type = "CNAME"
ttl = "1"
value = cloudflare_record.ahosking.name
proxied = "true"
}
resource "cloudflare_record" "ahosking_home" {
zone_id = cloudflare_zone.ahosking_com.id
name = "home"
type = "A"
ttl = "1"
value = var.home_ip
}
resource "cloudflare_record" "ahosking_code" {
zone_id = cloudflare_zone.ahosking_com.id
name = "code"
type = "CNAME"
ttl = "1"
value = cloudflare_record.ahosking_home.name
proxied = "true"
}
resource "cloudflare_record" "ahosking_ombi" {
zone_id = cloudflare_zone.ahosking_com.id
name = "ombi"
type = "CNAME"
ttl = "1"
value = cloudflare_record.ahosking_home.name
proxied = "true"
}
resource "cloudflare_record" "ahosking_radarr" {
zone_id = cloudflare_zone.ahosking_com.id
name = "radarr"
type = "CNAME"
ttl = "1"
value = cloudflare_record.ahosking_home.name
proxied = "true"
}
# email MX value for DNS