github.com/nathanielks/terraform@v0.6.1-0.20170509030759-13e1a62319dc/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](https://docs.aws.amazon.com/Route53/latest/APIReference/actions-on-reusable-delegation-sets.html) resource.
    12  
    13  ## Example Usage
    14  
    15  ```hcl
    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).
    45  
    46  
    47  
    48  ## Import
    49  
    50  Route53 Delegation Sets can be imported using the `delegation set id`, e.g.
    51  
    52  ```
    53  $ terraform import aws_route53_delegation_set.set1 N1PA6795SAMPLE
    54  ```