From dc75f0942a57e22fddd34733cfd9a6539ef5d766 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sun, 23 Apr 2023 17:48:15 +0100 Subject: [PATCH] Use sys hostname for grimes domains --- terraform/theorangeone.net.tf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/terraform/theorangeone.net.tf b/terraform/theorangeone.net.tf index 4cf7aff..ed0ce6b 100644 --- a/terraform/theorangeone.net.tf +++ b/terraform/theorangeone.net.tf @@ -199,16 +199,16 @@ resource "cloudflare_record" "theorangeonenet_privatebin" { resource "cloudflare_record" "theorangeonenet_dokku" { zone_id = cloudflare_zone.theorangeonenet.id name = "d" - value = vultr_instance.grimes.main_ip - type = "A" + value = cloudflare_record.sys_domain_grimes.hostname + type = "CNAME" ttl = 1 } resource "cloudflare_record" "theorangeonenet_dokku_wildcard" { zone_id = cloudflare_zone.theorangeonenet.id name = "*.d" - value = vultr_instance.grimes.main_ip - type = "A" + value = cloudflare_record.theorangeonenet_dokku.hostname + type = "CNAME" ttl = 1 }