From c710bacd69216db3d020b953750207203fd64efa Mon Sep 17 00:00:00 2001 From: Alexander Hosking Date: Wed, 30 Mar 2022 22:59:31 -0400 Subject: [PATCH] Add Root for AutomatedBytes --- ahoskingit/terraform/dns_automatedbytes.tf | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ahoskingit/terraform/dns_automatedbytes.tf b/ahoskingit/terraform/dns_automatedbytes.tf index 3d4ccfc..cd71aa0 100644 --- a/ahoskingit/terraform/dns_automatedbytes.tf +++ b/ahoskingit/terraform/dns_automatedbytes.tf @@ -4,6 +4,14 @@ resource "cloudflare_zone" "automatedbytes_com" { zone = "automatedbytes.com" } +resource "cloudflare_record" "automatedbytes" { + zone_id = cloudflare_zone.automatedbytes_com.id + name = "automatedbytes.com" + type = "A" + ttl = "1" + value = var.home_ip +} + resource "cloudflare_record" "assets_automatedbytes" { zone_id = cloudflare_zone.automatedbytes_com.id name = "assets"