github.com/bengesoff/terraform@v0.3.1-0.20141018223233-b25a53629922/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 --- 6 7 # CloudFlare Provider 8 9 The CloudFlare provider is used to interact with the 10 DNS resources supported by CloudFlare. The provider needs to be configured 11 with the proper credentials before it can be used. 12 13 Use the navigation to the left to read about the available resources. 14 15 ## Example Usage 16 17 ``` 18 # Configure the CloudFlare provider 19 provider "cloudflare" { 20 email = "${var.cloudflare_email}" 21 token = "${var.cloudflare_token}" 22 } 23 24 # Create a record 25 resource "cloudflare_record" "www" { 26 ... 27 } 28 ``` 29 30 ## Argument Reference 31 32 The following arguments are supported: 33 34 * `email` - (Required) The email associated with the account 35 * `token` - (Required) The Cloudflare API token 36 37