Skip to content

Commit

Permalink
Merge pull request #37994 from stefanfreitag/d-aws_route53_zone_attri…
Browse files Browse the repository at this point in the history
…bute_reference-add-fields

doc: add fields to attribute reference of route53 zone data
  • Loading branch information
ewbankkit committed Jun 21, 2024
2 parents 9483acf + 52fa8a4 commit ccfd07d
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions website/docs/d/route53_zone.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,9 @@ resource "aws_route53_record" "www" {

The arguments of this data source act as filters for querying the available
Hosted Zone. You have to use `zone_id` or `name`, not both of them. The given filter must match exactly one
Hosted Zone. If you use `name` field for private Hosted Zone, you need to add `private_zone` field to `true`
Hosted Zone. If you use `name` field for private Hosted Zone, you need to add `private_zone` field to `true`.

* `zone_id` - (Optional) Hosted Zone id of the desired Hosted Zone.

* `name` - (Optional) Hosted Zone name of the desired Hosted Zone.
* `private_zone` - (Optional) Used with `name` field to get a private Hosted Zone.
* `vpc_id` - (Optional) Used with `name` field to get a private Hosted Zone associated with the vpc_id (in this case, private_zone is not mandatory).
Expand All @@ -56,8 +55,12 @@ The following attribute is additionally exported:
* `arn` - ARN of the Hosted Zone.
* `caller_reference` - Caller Reference of the Hosted Zone.
* `comment` - Comment field of the Hosted Zone.
* `linked_service_principal` - The service that created the Hosted Zone (e.g., `servicediscovery.amazonaws.com`).
* `linked_service_description` - The description provided by the service that created the Hosted Zone (e.g., `arn:aws:servicediscovery:us-east-1:1234567890:namespace/ns-xxxxxxxxxxxxxxxx`).
* `name` - The Hosted Zone name.
* `name_servers` - List of DNS name servers for the Hosted Zone.
* `primary_name_server` - The Route 53 name server that created the SOA record.
* `private_zone` - Indicates whether this is a private hosted zone.
* `resource_record_set_count` - The number of Record Set in the Hosted Zone.
* `linked_service_principal` - The service that created the Hosted Zone (e.g., `servicediscovery.amazonaws.com`).
* `linked_service_description` - The description provided by the service that created the Hosted Zone (e.g., `arn:aws:servicediscovery:us-east-1:1234567890:namespace/ns-xxxxxxxxxxxxxxxx`).
* `tags` - A map of tags assigned to the Hosted Zone.
* `zone_id` - The Hosted Zone identifier.

0 comments on commit ccfd07d

Please sign in to comment.