This commit is contained in:
Alexander Hosking 2021-12-11 01:20:47 -05:00
commit 7e2d145414

View File

@ -53,6 +53,24 @@ resource "cloudflare_record" "ahosking_cnames" {
proxied = true proxied = true
} }
resource "cloudflare_record" "ahosking_food" {
zone_id = cloudflare_zone.ahosking_com.id
name = "food"
type = "CNAME"
ttl = "1"
proxied = true
value = join(".", [cloudflare_record.ahosking_home.name, cloudflare_zone.ahosking_com.zone])
}
resource "cloudflare_record" "ahosking_git" {
zone_id = cloudflare_zone.ahosking_com.id
name = "git"
type = "CNAME"
ttl = "1"
proxied = true
value = join(".", [cloudflare_record.ahosking_home.name, cloudflare_zone.ahosking_com.zone])
}
# email MX value for DNS # email MX value for DNS
resource "cloudflare_record" "ahosking_mx" { resource "cloudflare_record" "ahosking_mx" {
zone_id = cloudflare_zone.ahosking_com.id zone_id = cloudflare_zone.ahosking_com.id