Update dns_ahosking.tf

This commit is contained in:
Alexander Hosking 2022-02-05 01:37:32 +00:00
parent 75b7524513
commit e9d568b211

View File

@ -62,6 +62,15 @@ resource "cloudflare_record" "ahosking_food" {
value = join(".", [cloudflare_record.ahosking_home.name, cloudflare_zone.ahosking_com.zone]) value = join(".", [cloudflare_record.ahosking_home.name, cloudflare_zone.ahosking_com.zone])
} }
resource "cloudflare_record" "ahosking_recipes" {
zone_id = cloudflare_zone.ahosking_com.id
name = "recipes"
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