Append domain to CNAME records

This commit is contained in:
Alexander Hosking 2021-10-13 11:42:28 -04:00
parent e44bc85cb3
commit 96c5046aa5

View File

@ -45,7 +45,7 @@ resource "cloudflare_record" "ahosking_home" {
resource "cloudflare_record" "ahosking_code" {
zone_id = cloudflare_zone.ahosking_com.id
name = "code"
name = "code.ahosking.com"
type = "CNAME"
ttl = "1"
value = cloudflare_record.ahosking_home.name
@ -54,7 +54,7 @@ resource "cloudflare_record" "ahosking_code" {
resource "cloudflare_record" "ahosking_ombi" {
zone_id = cloudflare_zone.ahosking_com.id
name = "ombi"
name = "ombi.ahosking.com"
type = "CNAME"
ttl = "1"
value = cloudflare_record.ahosking_home.name
@ -63,7 +63,7 @@ resource "cloudflare_record" "ahosking_ombi" {
resource "cloudflare_record" "ahosking_radarr" {
zone_id = cloudflare_zone.ahosking_com.id
name = "radarr"
name = "radarr.ahosking.com"
type = "CNAME"
ttl = "1"
value = cloudflare_record.ahosking_home.name