github.com/atsaki/terraform@v0.4.3-0.20150919165407-25bba5967654/website/source/docs/providers/aws/r/route53_delegation_set.html.markdown (about)

     1  ---
     2  layout: "aws"
     3  page_title: "AWS: aws_route53_delegation_set"
     4  sidebar_current: "docs-aws-resource-route53-delegation-set"
     5  description: |-
     6    Provides a Route53 Delegation Set resource.
     7  ---
     8  
     9  # aws\_route53\_delegation_set
    10  
    11  Provides a [Route53 Delegation Set](http://docs.aws.amazon.com/Route53/latest/APIReference/actions-on-reusable-delegation-sets.html) resource.
    12  
    13  ## Example Usage
    14  
    15  ```
    16  resource "aws_route53_delegation_set" "main" {
    17      reference_name = "DynDNS"
    18  }
    19  
    20  resource "aws_route53_zone" "primary" {
    21      name = "hashicorp.com"
    22      delegation_set_id = "${aws_route53_delegation_set.main.id}"
    23  }
    24  
    25  resource "aws_route53_zone" "secondary" {
    26      name = "terraform.io"
    27      delegation_set_id = "${aws_route53_delegation_set.main.id}"
    28  }
    29  ```
    30  
    31  ## Argument Reference
    32  
    33  The following arguments are supported:
    34  
    35  * `reference_name` - (Optional) This is a reference name used in Caller Reference
    36    (helpful for identifying single delegation set amongst others)
    37  
    38  ## Attributes Reference
    39  
    40  The following attributes are exported:
    41  
    42  * `id` - The delegation set ID
    43  * `name_servers` - A list of authoritative name servers for the hosted zone
    44    (effectively a list of NS records).