updating Route53 docs for parent nameserver change

This commit is contained in:
Luke Amdor 2015-04-14 14:18:38 -05:00
parent 8f1acaf026
commit a4e4ffb87f
1 changed files with 6 additions and 2 deletions

View File

@ -29,7 +29,6 @@ resource "aws_route53_zone" "main" {
resource "aws_route53_zone" "dev" { resource "aws_route53_zone" "dev" {
name = "dev.example.com" name = "dev.example.com"
parent_route53_zone = "${aws_route53_zone.main.zone_id}"
} }
resource "aws_route53_record" "dev-ns" { resource "aws_route53_record" "dev-ns" {
@ -37,7 +36,12 @@ resource "aws_route53_record" "dev-ns" {
name = "dev.example.com" name = "dev.example.com"
type = "NS" type = "NS"
ttl = "30" ttl = "30"
records = ["127.0.0.1", "127.0.0.27"] records = [
"${aws_route53_zone.dev.delegation_set_name_servers.0}",
"${aws_route53_zone.dev.delegation_set_name_servers.1}",
"${aws_route53_zone.dev.delegation_set_name_servers.2}",
"${aws_route53_zone.dev.delegation_set_name_servers.3}"
]
} }
``` ```