From e9d568b21156adaf43aa116bb83f671601fb2093 Mon Sep 17 00:00:00 2001 From: Alexander Hosking Date: Sat, 5 Feb 2022 01:37:32 +0000 Subject: [PATCH] Update dns_ahosking.tf --- ahoskingit/terraform/dns_ahosking.tf | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/ahoskingit/terraform/dns_ahosking.tf b/ahoskingit/terraform/dns_ahosking.tf index 30b9f0d..b23d9ec 100644 --- a/ahoskingit/terraform/dns_ahosking.tf +++ b/ahoskingit/terraform/dns_ahosking.tf @@ -62,6 +62,15 @@ resource "cloudflare_record" "ahosking_food" { 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 resource "cloudflare_record" "ahosking_mx" { zone_id = cloudflare_zone.ahosking_com.id