Bugfix in example

Shouldn't the aws_route53_record in the example should use the "dev" zone_id?
This commit is contained in:
Niclas Nilsson 2016-10-21 11:11:39 +02:00 committed by GitHub
parent 0fdedbd003
commit 2a5b3e406d
1 changed files with 2 additions and 2 deletions

View File

@ -36,7 +36,7 @@ resource "aws_route53_zone" "dev" {
}
resource "aws_route53_record" "dev-ns" {
zone_id = "${aws_route53_zone.main.zone_id}"
zone_id = "${aws_route53_zone.dev.zone_id}"
name = "dev.example.com"
type = "NS"
ttl = "30"
@ -79,4 +79,4 @@ Route53 Zones can be imported using the `zone id`, e.g.
```
$ terraform import aws_route53_zone.myzone Z1D633PJN98FT9
```
```