github.com/turtlemonvh/terraform@v0.6.9-0.20151204001754-8e40b6b855e8/website/source/docs/providers/dyn/r/record.html.markdown (about)

     1  ---
     2  layout: "dyn"
     3  page_title: "Dyn: dyn_record"
     4  sidebar_current: "docs-dyn-resource-record"
     5  description: |-
     6    Provides a Dyn DNS record resource.
     7  ---
     8  
     9  # dyn\_record
    10  
    11  Provides a Dyn DNS record resource.
    12  
    13  ## Example Usage
    14  
    15  ```
    16  # Add a record to the domain
    17  resource "dyn_record" "foobar" {
    18      zone = "${var.dyn_zone}"
    19      name = "terraform"
    20      value = "192.168.0.11"
    21      type = "A"
    22      ttl = 3600
    23  }
    24  ```
    25  
    26  ## Argument Reference
    27  
    28  The following arguments are supported:
    29  
    30  * `name` - (Required) The name of the record.
    31  * `type` - (Required) The type of the record.
    32  * `value` - (Required) The value of the record.
    33  * `zone` - (Required) The DNS zone to add the record to.
    34  * `ttl` - (Optional) The TTL of the record. Default uses the zone default.
    35  
    36  ## Attributes Reference
    37  
    38  The following attributes are exported:
    39  
    40  * `id` - The record ID.
    41  * `fqdn` - The FQDN of the record, built from the `name` and the `zone`.