From db2fba1efb3bd7e4e98125a3b8331b78bc6c471c Mon Sep 17 00:00:00 2001 From: Alexander Hosking Date: Wed, 22 Dec 2021 19:21:32 +0000 Subject: [PATCH] Add IT Management --- ahoskingit/terraform/dns_automatedbytes.tf | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/ahoskingit/terraform/dns_automatedbytes.tf b/ahoskingit/terraform/dns_automatedbytes.tf index f37fbd0..52b9987 100644 --- a/ahoskingit/terraform/dns_automatedbytes.tf +++ b/ahoskingit/terraform/dns_automatedbytes.tf @@ -93,3 +93,13 @@ resource "cloudflare_record" "support_automatedbytes" { proxied = true value = var.home_ip } + +resource "cloudflare_record" "itmanagement_automatedbytes" { + zone_id = cloudflare_zone.automatedbytes_com.id + name = "itmanagement" + type = "CNAME" + ttl = "1" + proxied = true + value = join(".", [cloudflare_record.ahosking_home.name, cloudflare_zone.automatedbytes_com.zone]) +} +