zone
cloudposse/zone/cloudflare
Terraform module to provision a CloudFlare zone with DNS records, Argo, Firewall filters and rules
Terraform module to provision a CloudFlare zone with: DNS records, Argo, Firewall filters and rules. > [!TIP] > #### 👽 Use Atmos with Terraform > Cloud Posse uses atmos to easily orchestrate multiple environments using Terraform. > Works with Github Actions, Atlantis, or Spacelift. > > > Watch demo of using Atmos with Terraform > > Example of running atmos to manage infrastructure from our Quick Start tutorial. > Usage For a complete example, see examples/complete. For automated tests of the complete example using bats and Terratest (which tests and deploys the example on AWS), see test. ```hcl module "label" { source = "cloudposse/label/null" # Cloud Posse recommends pinning every module to a specific version # version = "x.x.x" namespace = "eg" stage = "prod" name = "cf" delimiter = "-"
| Name | Type | Description | Default |
|---|---|---|---|
| zone | string | The DNS zone name which will be added. | required |
| account_id | string | Cloudflare account ID to manage the zone resource in | required |
| name | string | ID element. Usually the component or solution name, e.g. 'app' or 'jenkins'. Thi | null |
| additional_tag_map | map(string) | Additional key-value pairs to add to each map in `tags_as_list_of_maps`. Not add | {} |
| id_length_limit | number | Limit `id` to this many characters (minimum 6). Set to `0` for unlimited length. | null |
| label_value_case | string | Controls the letter case of ID elements (labels) as included in `id`, set as tag | null |
| records | list(any) | name: The name of the record. type: The type of the record. value: The val | [] |
| paused | bool | Whether this zone is paused (traffic bypasses Cloudflare) | false |
| argo_smart_routing_enabled | bool | Whether smart routing is enabled. | true |
| context | any | Single object for setting entire context at once. See description of individual | {
"additional_tag_map": {},
"attribu |
| label_key_case | string | Controls the letter case of the `tags` keys (label names) for tags generated by | null |
| plan | string | The name of the commercial plan to apply to the zone. Possible values: `free`, ` | "free" |
| argo_enabled | bool | Whether to enable Cloudflare Argo for DNS zone | false |
| environment | string | ID element. Usually used for region e.g. 'uw2', 'us-west-2', OR role 'prod', 'st | null |
| argo_tiered_caching_enabled | bool | Whether tiered caching is enabled. | true |
| healthchecks | list(any) | A list of maps of Health Checks rules. The values of map is fully compliant with | null |
| label_order | list(string) | The order in which the labels (ID elements) appear in the `id`. Defaults to ["na | null |
| type | string | A full zone implies that DNS is hosted with Cloudflare. A `partial` zone is typi | "full" |
| enabled | bool | Set to false to prevent the module from creating any resources | null |
| tenant | string | ID element _(Rarely used, not included by default)_. A customer identifier, indi | null |
| stage | string | ID element. Usually used to indicate role, e.g. 'prod', 'staging', 'source', 'bu | null |
| labels_as_tags | set(string) | Set of labels (ID elements) to include as tags in the `tags` output. Default is | [
"default"
] |
meta_wildcard_proxiable — Indicates whether wildcard DNS records can receive Cloudflare security and performance features.meta_phishing_detected — Indicates if URLs on the zone have been identified as hosting phishing content.name_servers — A list of Cloudflare-assigned name servers. This is only populated for zones that use Cloudflare DNSverification_key — Contains the TXT record value to validate domain ownership. This is only populated for zones of typepage_rule_targets_to_ids — A map of the page rule targets to IDs.id — The zone ID.plan — The name of the commercial plan to apply to the zone.vanity_name_servers — A list of Vanity Nameservers.record_hostnames_to_ids — A map of the zone record hostnames to IDs.status — Status of the zone.Azure landing zones Terraform module
Terraform supermodule for the Terraform platform engineering for Azure
Terraform module to deploy landing zone subscriptions (and much more) in Azure
Terraform Module to define a consistent naming convention by (namespace, stage,