github.com/nathanielks/terraform@v0.6.1-0.20170509030759-13e1a62319dc/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  ```hcl
    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  * `proxied` - (Optional) Whether the record gets Cloudflare's origin protection.
    37  
    38  ## Attributes Reference
    39  
    40  The following attributes are exported:
    41  
    42  * `id` - The record ID
    43  * `name` - The name of the record
    44  * `value` - The value of the record
    45  * `type` - The type of the record
    46  * `ttl` - The TTL of the record
    47  * `priority` - The priority of the record
    48  * `hostname` - The FQDN of the record
    49  * `proxied` - (Optional) Whether the record gets Cloudflare's origin protection.