cloudflare_record
Provides a Cloudflare record resource.
Example Usage
# Add a record to the domain
resource "cloudflare_record" "foobar" {
domain = "${var.cloudflare_domain}"
name = "terraform"
value = "192.168.0.11"
type = "A"
ttl = 3600
}
Argument Reference
The following arguments are supported:
domain- (Required) The domain to add the record toname- (Required) The name of the recordvalue- (Required) The value of the recordtype- (Required) The type of the recordttl- (Optional) The TTL of the recordpriority- (Optional) The priority of the recordproxied- (Optional) Whether the record gets CloudFlares origin protection.
Attributes Reference
The following attributes are exported:
id- The record IDname- The name of the recordvalue- The value of the recordtype- The type of the recordttl- The TTL of the recordpriority- The priority of the recordhostname- The FQDN of the recordproxied- (Optional) Whether the record gets CloudFlares origin protection.
See the source of this document at Terraform.io