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

     1  ---
     2  layout: "cloudflare"
     3  page_title: "CloudFlare: cloudflare_record"
     4  sidebar_current: "docs-cloudflare-resource-record"
     5  description: |-
     6    Provides a Cloudflare record resource.
     7  ---
     8  
     9  # cloudflare\_record
    10  
    11  Provides a Cloudflare record resource.
    12  
    13  ## Example Usage
    14  
    15  ```
    16  # Add a record to the domain
    17  resource "cloudflare_record" "foobar" {
    18  	domain = "${var.cloudflare_domain}"
    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  * `domain` - (Required) The domain to add the record to
    31  * `name` - (Required) The name of the record
    32  * `value` - (Required) The value of the record
    33  * `type` - (Required) The type of the record
    34  * `ttl` - (Optional) The TTL of the record
    35  * `priority` - (Optional) The priority of the record
    36  
    37  ## Attributes Reference
    38  
    39  The following attributes are exported:
    40  
    41  * `id` - The record ID
    42  * `name` - The name of the record
    43  * `value` - The value of the record
    44  * `type` - The type of the record
    45  * `ttl` - The TTL of the record
    46  * `priority` - The priority of the record
    47  * `hostname` - The FQDN of the record
    48