Add Root for AutomatedBytes

This commit is contained in:
Alexander Hosking 2022-03-30 22:59:31 -04:00
parent 905c2dfe61
commit c710bacd69

View File

@ -4,6 +4,14 @@ resource "cloudflare_zone" "automatedbytes_com" {
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" { resource "cloudflare_record" "assets_automatedbytes" {
zone_id = cloudflare_zone.automatedbytes_com.id zone_id = cloudflare_zone.automatedbytes_com.id
name = "assets" name = "assets"