commit
ccf3f6e5ae
|
@ -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
|
||||
```
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue