We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c3ca59 commit b875a89Copy full SHA for b875a89
website/docs/r/route53_zone.html.markdown
@@ -55,11 +55,28 @@ resource "aws_route53_record" "dev-ns" {
55
~> **NOTE:** Private zones require at least one VPC association at all times.
56
57
```terraform
58
+resource "aws_vpc" "primary" {
59
+ cidr_block = "10.6.0.0/16"
60
+ enable_dns_hostnames = true
61
+ enable_dns_support = true
62
+}
63
+
64
+resource "aws_vpc" "secondary" {
65
+ cidr_block = "10.7.0.0/16"
66
67
68
69
70
resource "aws_route53_zone" "private" {
71
name = "example.com"
72
73
vpc {
- vpc_id = aws_vpc.example.id
74
+ vpc_id = aws_vpc.primary.id
75
+ }
76
77
+ # Add multiple `vpc` blocks to associate additional VPCs
78
+ vpc {
79
+ vpc_id = aws_vpc.secondary.id
80
}
81
82
```
0 commit comments