Use sys hostname for grimes domains

This commit is contained in:
Jake Howard 2023-04-23 17:48:15 +01:00
parent 955db140b1
commit dc75f0942a
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -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
}