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" {
|
resource "cloudflare_record" "theorangeonenet_dokku" {
|
||||||
zone_id = cloudflare_zone.theorangeonenet.id
|
zone_id = cloudflare_zone.theorangeonenet.id
|
||||||
name = "d"
|
name = "d"
|
||||||
value = vultr_instance.grimes.main_ip
|
value = cloudflare_record.sys_domain_grimes.hostname
|
||||||
type = "A"
|
type = "CNAME"
|
||||||
ttl = 1
|
ttl = 1
|
||||||
}
|
}
|
||||||
|
|
||||||
resource "cloudflare_record" "theorangeonenet_dokku_wildcard" {
|
resource "cloudflare_record" "theorangeonenet_dokku_wildcard" {
|
||||||
zone_id = cloudflare_zone.theorangeonenet.id
|
zone_id = cloudflare_zone.theorangeonenet.id
|
||||||
name = "*.d"
|
name = "*.d"
|
||||||
value = vultr_instance.grimes.main_ip
|
value = cloudflare_record.theorangeonenet_dokku.hostname
|
||||||
type = "A"
|
type = "CNAME"
|
||||||
ttl = 1
|
ttl = 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue