provider/aws: route53 delegation set docs added
This commit is contained in:
parent
1411435179
commit
079ba4e310
|
@ -0,0 +1,44 @@
|
||||||
|
---
|
||||||
|
layout: "aws"
|
||||||
|
page_title: "AWS: aws_route53_delegation_set"
|
||||||
|
sidebar_current: "docs-aws-resource-route53-delegation-set"
|
||||||
|
description: |-
|
||||||
|
Provides a Route53 Delegation Set resource.
|
||||||
|
---
|
||||||
|
|
||||||
|
# aws\_route53\_delegation_set
|
||||||
|
|
||||||
|
Provides a [Route53 Delegation Set](http://docs.aws.amazon.com/Route53/latest/APIReference/actions-on-reusable-delegation-sets.html) resource.
|
||||||
|
|
||||||
|
## Example Usage
|
||||||
|
|
||||||
|
```
|
||||||
|
resource "aws_route53_delegation_set" "main" {
|
||||||
|
reference_name = "DynDNS"
|
||||||
|
}
|
||||||
|
|
||||||
|
resource "aws_route53_zone" "primary" {
|
||||||
|
name = "hashicorp.com"
|
||||||
|
delegation_set_id = "${aws_route53_delegation_set.main.id}"
|
||||||
|
}
|
||||||
|
|
||||||
|
resource "aws_route53_zone" "secondary" {
|
||||||
|
name = "terraform.io"
|
||||||
|
delegation_set_id = "${aws_route53_delegation_set.main.id}"
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
## Argument Reference
|
||||||
|
|
||||||
|
The following arguments are supported:
|
||||||
|
|
||||||
|
* `reference_name` - (Optional) This is a reference name used in Caller Reference
|
||||||
|
(helpful for identifying single delegation set amongst others)
|
||||||
|
|
||||||
|
## Attributes Reference
|
||||||
|
|
||||||
|
The following attributes are exported:
|
||||||
|
|
||||||
|
* `id` - The delegation set ID
|
||||||
|
* `name_servers` - A list of authoritative name servers for the hosted zone
|
||||||
|
(effectively a list of NS records).
|
|
@ -58,11 +58,12 @@ The following arguments are supported:
|
||||||
* `tags` - (Optional) A mapping of tags to assign to the zone.
|
* `tags` - (Optional) A mapping of tags to assign to the zone.
|
||||||
* `vpc_id` - (Optional) The VPC to associate with a private hosted zone. Specifying `vpc_id` will create a private hosted zone.
|
* `vpc_id` - (Optional) The VPC to associate with a private hosted zone. Specifying `vpc_id` will create a private hosted zone.
|
||||||
* `vpc_region` - (Optional) The VPC's region. Defaults to the region of the AWS provider.
|
* `vpc_region` - (Optional) The VPC's region. Defaults to the region of the AWS provider.
|
||||||
|
* `delegation_set_id` - (Optional) The ID of the reusable delgation set whose NS records you want to assign to the hosted zone.
|
||||||
|
|
||||||
## Attributes Reference
|
## Attributes Reference
|
||||||
|
|
||||||
The following attributes are exported:
|
The following attributes are exported:
|
||||||
|
|
||||||
* `zone_id` - The Hosted Zone ID. This can be referenced by zone records.
|
* `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 associated (or default) delegation set.
|
||||||
Find more about delegation sets in [AWS docs](http://docs.aws.amazon.com/Route53/latest/APIReference/actions-on-reusable-delegation-sets.html).
|
Find more about delegation sets in [AWS docs](http://docs.aws.amazon.com/Route53/latest/APIReference/actions-on-reusable-delegation-sets.html).
|
||||||
|
|
|
@ -177,6 +177,10 @@
|
||||||
<a href="/docs/providers/aws/r/proxy_protocol_policy.html">aws_proxy_protocol_policy</a>
|
<a href="/docs/providers/aws/r/proxy_protocol_policy.html">aws_proxy_protocol_policy</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
<li<%= sidebar_current("docs-aws-resource-route53-delegation-set") %>>
|
||||||
|
<a href="/docs/providers/aws/r/route53_delegation_set.html">aws_route53_delegation_set</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
<li<%= sidebar_current("docs-aws-resource-route53-health-check") %>>
|
<li<%= sidebar_current("docs-aws-resource-route53-health-check") %>>
|
||||||
<a href="/docs/providers/aws/r/route53_health_check.html">aws_route53_health_check</a>
|
<a href="/docs/providers/aws/r/route53_health_check.html">aws_route53_health_check</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
Loading…
Reference in New Issue