github.com/maheshbr/terraform@v0.3.1-0.20141020033300-deec7194a3ea/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  ---
     6  
     7  # cloudflare\_record
     8  
     9  Provides a Cloudflare record resource.
    10  
    11  ## Example Usage
    12  
    13  ```
    14  # Add a record to the domain
    15  resource "cloudflare_record" "foobar" {
    16  	domain = "${var.cloudflare_domain}"
    17  	name = "terraform"
    18  	value = "192.168.0.11"
    19  	type = "A"
    20  	ttl = 3600
    21  }
    22  ```
    23  
    24  ## Argument Reference
    25  
    26  The following arguments are supported:
    27  
    28  * `domain` - (Required) The domain to add the record to
    29  * `name` - (Required) The name of the record
    30  * `value` - (Required) The value of the record
    31  * `type` - (Required) The type of the record
    32  * `ttl` - (Optional) The TTL of the record
    33  * `priority` - (Optional) The TTL of the record
    34  
    35  ## Attributes Reference
    36  
    37  The following attributes are exported:
    38  
    39  * `id` - The record ID
    40  * `name` - The name of the record
    41  * `value` - The value of the record
    42  * `type` - The type of the record
    43  * `ttl` - The ttl of the record
    44  * `priority` - The priority of the record
    45  * `hostname` - The FQDN of the record
    46