diff --git a/CHANGELOG.md b/CHANGELOG.md index 92f0c9d6c..78ba3ce66 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,7 @@ IMPROVEMENTS: * provider/aws: `aws_elasticache_cluster` add support for Tags [GH-1965] * provider/aws: `aws_s3_bucket` exports `hosted_zone_id` and `region` [GH-1865] * provider/aws: `aws_route53_record` exports `fqdn` [GH-1847] + * provider/aws: `aws_route53_hosted_zone` can create private hosted zones [GH-1526] * provider/google: `google_compute_instance` `scratch` attribute added [GH-1920] BUG FIXES: diff --git a/website/source/docs/providers/aws/r/route53_zone.html.markdown b/website/source/docs/providers/aws/r/route53_zone.html.markdown index 9e0960610..665811d08 100644 --- a/website/source/docs/providers/aws/r/route53_zone.html.markdown +++ b/website/source/docs/providers/aws/r/route53_zone.html.markdown @@ -49,6 +49,10 @@ resource "aws_route53_record" "dev-ns" { } ``` +~> **NOTE:** The `name_servers` set is populated only for public Hosted Zones. +Private Zones will contain any empty set since AWS does not return a `DelegationSet` +for private Hosted Zones. + ## Argument Reference The following arguments are supported: @@ -63,5 +67,5 @@ The following arguments are supported: The following attributes are exported: * `zone_id` - The Hosted Zone ID. This can be referenced by zone records. -* `name_servers` - A list of name servers in a default delegation set. +* `name_servers` - A list of name servers in a default delegation set. Support only for Public Hosted Zones. Find more about delegation sets in [AWS docs](http://docs.aws.amazon.com/Route53/latest/APIReference/actions-on-reusable-delegation-sets.html).