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"