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

     1  ---
     2  layout: "cloudflare"
     3  page_title: "Provider: Cloudflare"
     4  sidebar_current: "docs-cloudflare-index"
     5  description: |-
     6    The CloudFlare provider is used to interact with the DNS resources supported by CloudFlare. The provider needs to be configured with the proper credentials before it can be used.
     7  ---
     8  
     9  # CloudFlare Provider
    10  
    11  The CloudFlare provider is used to interact with the
    12  DNS resources supported by CloudFlare. The provider needs to be configured
    13  with the proper credentials before it can be used.
    14  
    15  Use the navigation to the left to read about the available resources.
    16  
    17  ## Example Usage
    18  
    19  ```
    20  # Configure the CloudFlare provider
    21  provider "cloudflare" {
    22      email = "${var.cloudflare_email}"
    23      token = "${var.cloudflare_token}"
    24  }
    25  
    26  # Create a record
    27  resource "cloudflare_record" "www" {
    28      ...
    29  }
    30  ```
    31  
    32  ## Argument Reference
    33  
    34  The following arguments are supported:
    35  
    36  * `email` - (Required) The email associated with the account. This can also be
    37    specified with the `CLOUDFLARE_EMAIL` shell environment variable.
    38  * `token` - (Required) The Cloudflare API token. This can also be specified
    39    with the `CLOUDFLARE_TOKEN` shell environment variable.