Commit c57cc1ff authored by Mike Horwath's avatar Mike Horwath
Browse files

small terraform and doc updates

parent 3fc69aaa
Pipeline #1693 passed with stage
in 10 seconds
......@@ -2,7 +2,7 @@
[Terraform cloudflare_zone](https://www.terraform.io/docs/providers/cloudflare/r/zone.html)
> **Requires Terraform 0.12 or higher**
> **Requires Terraform 0.13 or higher**
## usage example
......@@ -20,3 +20,45 @@
* `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
* `name_servers` - Cloudflare-assigned name servers. This is only populated for zones that use Cloudflare DNS.
<!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
## Requirements
| Name | Version |
|------|---------|
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 0.13 |
| <a name="requirement_cloudflare"></a> [cloudflare](#requirement\_cloudflare) | ~> 2.0 |
## Providers
| Name | Version |
|------|---------|
| <a name="provider_cloudflare"></a> [cloudflare](#provider\_cloudflare) | 2.24.0 |
## Modules
No modules.
## Resources
| Name | Type |
|------|------|
| [cloudflare_zone.dns_zone](https://registry.terraform.io/providers/cloudflare/cloudflare/latest/docs/resources/zone) | resource |
## Inputs
| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| <a name="input_create_zone"></a> [create\_zone](#input\_create\_zone) | n/a | `bool` | `"false"` | no |
| <a name="input_zone"></a> [zone](#input\_zone) | n/a | `string` | n/a | yes |
## Outputs
| Name | Description |
|------|-------------|
| <a name="output_id"></a> [id](#output\_id) | n/a |
| <a name="output_name_servers"></a> [name\_servers](#output\_name\_servers) | n/a |
| <a name="output_status"></a> [status](#output\_status) | n/a |
| <a name="output_type"></a> [type](#output\_type) | n/a |
| <a name="output_vanity_name_servers"></a> [vanity\_name\_servers](#output\_vanity\_name\_servers) | n/a |
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
variable "zone" {
type = string
}
variable "create_zone" {
type = bool
default = "false"
}
terraform {
required_version = ">= 0.12"
required_version = ">= 0.13"
required_providers {
cloudflare = {
source = "cloudflare/cloudflare"
version = "~> 2.0"
}
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment