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:
Naveen Nalam 2017-03-24 03:29:27 -07:00 committed by Paul Stack
parent 8b548fe30d
commit fc04f4b5a0
1 changed files with 1 additions and 1 deletions

View File

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