Add Git and Food records

This commit is contained in:
Alexander Hosking 2021-11-18 10:51:36 -05:00
parent 36847876d3
commit 7854318ec1
2 changed files with 21 additions and 3 deletions

View File

@ -70,6 +70,24 @@ resource "cloudflare_record" "ahosking_radarr" {
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

View File

@ -187,9 +187,9 @@ resource "cloudflare_record" "support_ahoskingit" {
resource "cloudflare_record" "git_ahoskingit" {
zone_id = cloudflare_zone.ahoskingit_com.id
name = "git"
type = "A"
value = var.home_ip
#proxied = "true"
type = "CNAME"
proxied = "true"
value = join(".", [cloudflare_record.home_ahoskingit.name, cloudflare_zone.ahoskingit_com.zone])
}
resource "cloudflare_record" "gitlab_ahoskingit" {