diff --git a/ahoskingit/terraform/dns_ahosking.tf b/ahoskingit/terraform/dns_ahosking.tf index df1f30a..87f316d 100644 --- a/ahoskingit/terraform/dns_ahosking.tf +++ b/ahoskingit/terraform/dns_ahosking.tf @@ -53,6 +53,24 @@ resource "cloudflare_record" "ahosking_cnames" { 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 resource "cloudflare_record" "ahosking_mx" { zone_id = cloudflare_zone.ahosking_com.id