Use sys hostname for grimes domains
This commit is contained in:
parent
955db140b1
commit
dc75f0942a
1 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue