Fix zone value in example (#13023)
As experienced during testing, the value of the zone needs to be the zone name, and not the NS1 internal ID.
This commit is contained in:
parent
8b548fe30d
commit
fc04f4b5a0
|
@ -18,7 +18,7 @@ resource "ns1_zone" "tld" {
|
||||||
}
|
}
|
||||||
|
|
||||||
resource "ns1_record" "www" {
|
resource "ns1_record" "www" {
|
||||||
zone = "${ns1_zone.tld.id}"
|
zone = "${ns1_zone.tld.zone}"
|
||||||
domain = "www.${ns1_zone.tld.zone}"
|
domain = "www.${ns1_zone.tld.zone}"
|
||||||
type = "CNAME"
|
type = "CNAME"
|
||||||
ttl = 60
|
ttl = 60
|
||||||
|
|
Loading…
Reference in New Issue