README.md 1.04 KB
Newer Older
Mike Horwath's avatar
Mike Horwath committed
1
2
# Cloudflare Zone Module

Mike Horwath's avatar
Mike Horwath committed
3
4
[Terraform cloudflare_zone](https://www.terraform.io/docs/providers/cloudflare/r/zone.html)

Mike Horwath's avatar
Mike Horwath committed
5
6
> **Requires Terraform 0.12 or higher**

Mike Horwath's avatar
Mike Horwath committed
7
8
9
## usage example

## required variables
Mike Horwath's avatar
Mike Horwath committed
10
`domain` - domain to create a zone for
Mike Horwath's avatar
Mike Horwath committed
11
12

## optional variables
Mike Horwath's avatar
Mike Horwath committed
13
`create_zone` - if we need to actually create said zone
Mike Horwath's avatar
Mike Horwath committed
14
15

## outputs
Mike Horwath's avatar
cleanup    
Mike Horwath committed
16
17
* `id` - The zone ID.
* `vanity_name_servers` - List of Vanity Nameservers (if set).
Mike Horwath's avatar
Mike Horwath committed
18
19
* **does not work** `meta.wildcard_proxiable` - Indicates whether wildcard DNS records can receive Cloudflare security and performance features.
* **does not work** `meta.phishing_detected` - Indicates if URLs on the zone have been identified as hosting phishing content.
Mike Horwath's avatar
cleanup    
Mike Horwath committed
20
21
* `status` - Status of the zone. Valid values: active, pending, initializing, moved, deleted, deactivated
* `type` - A full zone implies that DNS is hosted with Cloudflare. A partial zone is typically a partner-hosted zone or a CNAME setup. Valid values: full, partial
Mike Horwath's avatar
Mike Horwath committed
22
* `name_servers` - Cloudflare-assigned name servers. This is only populated for zones that use Cloudflare DNS.