---
title: Zones
---

[Skip to content](#_top)

[API Reference](https://developers.cloudflare.com/api/terraform)

Copy Markdown

Open in **Claude**Open in **ChatGPT**Open in **Cursor**

---

**Copy Markdown****View as Markdown**

# Zones

#### resource cloudflare\_zone

##### required Expand Collapse

name: String

The domain name. Per [RFC 1035](https://datatracker.ietf.org/doc/html/rfc1035#section-2.3.4) the overall zone name can be up to 253 characters, with each segment (“label”) not exceeding 63 characters.

[Link to this property](<#(resource)%20zones%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20name>)

<details>

<summary>

account: Attributes

</summary>

id?: String

Identifier

<a href="#(resource)%20zones%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20account%20%3E%20(attribute)%20id">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zones%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20account>)

##### optional Expand Collapse

paused?: Bool

Indicates whether the zone is only using Cloudflare DNS services. A true value means the zone will not receive security or performance benefits.

[Link to this property](<#(resource)%20zones%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20paused>)

type?: String

A full zone implies that DNS is hosted with Cloudflare. A partial zone is typically a partner-hosted zone or a CNAME setup.

[Link to this property](<#(resource)%20zones%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20type>)

vanity\_name\_servers?: List\[String]

An array of domains used for custom name servers. This is only available for Business and Enterprise plans.

[Link to this property](<#(resource)%20zones%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20vanity_name_servers>)

##### computed Expand Collapse

id: String

Identifier

[Link to this property](<#(resource)%20zones%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20id>)

activated\_on: Time

The last time proof of ownership was detected and the zone was made active.

[Link to this property](<#(resource)%20zones%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20activated_on>)

cname\_suffix: String

Allows the customer to use a custom apex. *Tenants Only Configuration*.

[Link to this property](<#(resource)%20zones%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20cname_suffix>)

created\_on: Time

When the zone was created.

[Link to this property](<#(resource)%20zones%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20created_on>)

development\_mode: Float64

The interval (in seconds) from when development mode expires (positive integer) or last expired (negative integer) for the domain. If development mode has never been enabled, this value is 0.

[Link to this property](<#(resource)%20zones%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20development_mode>)

modified\_on: Time

When the zone was last modified.

[Link to this property](<#(resource)%20zones%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20modified_on>)

original\_dnshost: String

DNS host at the time of switching to Cloudflare.

[Link to this property](<#(resource)%20zones%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20original_dnshost>)

original\_registrar: String

Registrar for the domain at the time of switching to Cloudflare.

[Link to this property](<#(resource)%20zones%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20original_registrar>)

status: String

The zone status on Cloudflare.

[Link to this property](<#(resource)%20zones%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20status>)

verification\_key: String

Verification key for partial zone setup.

[Link to this property](<#(resource)%20zones%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20verification_key>)

name\_servers: List\[String]

The name servers Cloudflare assigns to a zone.

[Link to this property](<#(resource)%20zones%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20name_servers>)

original\_name\_servers: List\[String]

Original name servers before moving to Cloudflare.

[Link to this property](<#(resource)%20zones%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20original_name_servers>)

Deprecatedpermissions: List\[String]

This has been replaced by Account memberships.

Legacy permissions based on legacy user membership information.

[Link to this property](<#(resource)%20zones%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20permissions>)

<details>

<summary>

meta: Attributes

Metadata about the zone.

</summary>

cdn\_only: Bool

The zone is only configured for CDN.

<a href="#(resource)%20zones%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20meta%20%3E%20(attribute)%20cdn_only">Link to this property</a>

custom\_certificate\_quota: Int64

Number of Custom Certificates the zone can have.

<a href="#(resource)%20zones%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20meta%20%3E%20(attribute)%20custom_certificate_quota">Link to this property</a>

dns\_only: Bool

The zone is only configured for DNS.

<a href="#(resource)%20zones%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20meta%20%3E%20(attribute)%20dns_only">Link to this property</a>

foundation\_dns: Bool

The zone is setup with Foundation DNS.

<a href="#(resource)%20zones%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20meta%20%3E%20(attribute)%20foundation_dns">Link to this property</a>

page\_rule\_quota: Int64

Number of Page Rules a zone can have.

<a href="#(resource)%20zones%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20meta%20%3E%20(attribute)%20page_rule_quota">Link to this property</a>

phishing\_detected: Bool

The zone has been flagged for phishing.

<a href="#(resource)%20zones%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20meta%20%3E%20(attribute)%20phishing_detected">Link to this property</a>

step: Int64

<a href="#(resource)%20zones%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20meta%20%3E%20(attribute)%20step">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zones%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20meta>)

<details>

<summary>

owner: Attributes

The owner of the zone.

</summary>

id: String

Identifier

<a href="#(resource)%20zones%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20owner%20%3E%20(attribute)%20id">Link to this property</a>

name: String

Name of the owner.

<a href="#(resource)%20zones%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20owner%20%3E%20(attribute)%20name">Link to this property</a>

type: String

The type of owner.

<a href="#(resource)%20zones%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20owner%20%3E%20(attribute)%20type">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zones%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20owner>)

<details>

<summary>

Deprecatedplan: Attributes

Please use the <code>/zones/{zone_id}/subscription</code> API to update a zone’s plan. Changing this value will create/cancel associated subscriptions. To view available plans for this zone, see <a href="https://developers.cloudflare.com/api/resources/zones/subresources/plans/">Zone Plans</a>.

A Zones subscription information.

</summary>

id: String

Identifier

<a href="#(resource)%20zones%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20plan%20%3E%20(attribute)%20id">Link to this property</a>

can\_subscribe: Bool

States if the subscription can be activated.

<a href="#(resource)%20zones%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20plan%20%3E%20(attribute)%20can_subscribe">Link to this property</a>

currency: String

The denomination of the customer.

<a href="#(resource)%20zones%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20plan%20%3E%20(attribute)%20currency">Link to this property</a>

externally\_managed: Bool

If this Zone is managed by another company.

<a href="#(resource)%20zones%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20plan%20%3E%20(attribute)%20externally_managed">Link to this property</a>

frequency: String

How often the customer is billed.

<a href="#(resource)%20zones%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20plan%20%3E%20(attribute)%20frequency">Link to this property</a>

is\_subscribed: Bool

States if the subscription active.

<a href="#(resource)%20zones%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20plan%20%3E%20(attribute)%20is_subscribed">Link to this property</a>

legacy\_discount: Bool

If the legacy discount applies to this Zone.

<a href="#(resource)%20zones%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20plan%20%3E%20(attribute)%20legacy_discount">Link to this property</a>

legacy\_id: String

The legacy name of the plan.

<a href="#(resource)%20zones%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20plan%20%3E%20(attribute)%20legacy_id">Link to this property</a>

name: String

Name of the owner.

<a href="#(resource)%20zones%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20plan%20%3E%20(attribute)%20name">Link to this property</a>

price: Float64

How much the customer is paying.

<a href="#(resource)%20zones%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20plan%20%3E%20(attribute)%20price">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zones%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20plan>)

<details>

<summary>

tenant: Attributes

The root organizational unit that this zone belongs to (such as a tenant or organization).

</summary>

id: String

Identifier

<a href="#(resource)%20zones%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20tenant%20%3E%20(attribute)%20id">Link to this property</a>

name: String

The name of the Tenant account.

<a href="#(resource)%20zones%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20tenant%20%3E%20(attribute)%20name">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zones%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20tenant>)

<details>

<summary>

tenant\_unit: Attributes

The immediate parent organizational unit that this zone belongs to (such as under a tenant or sub-organization).

</summary>

id: String

Identifier

<a href="#(resource)%20zones%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20tenant_unit%20%3E%20(attribute)%20id">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zones%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20tenant_unit>)

### cloudflare\_zone

Terraform

HTTPTypeScriptPythonGoTerraform

```
resource "cloudflare_zone" "example_zone" {
  account = {
    id = "023e105f4ecef8ad9ca31a8372d0c353"
  }
  name = "example.com"
  type = "full"
}
```

#### data cloudflare\_zone

##### optional Expand Collapse

zone\_id?: String

Identifier

[Link to this property](<#(resource)%20zones%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20zone_id>)

<details>

<summary>

filter?: Attributes

</summary>

<details>

<summary>

account?: Attributes

</summary>

id?: String

Filter by an account ID.

<a href="#(resource)%20zones%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20filter%20%3E%20(attribute)%20account%20%3E%20(attribute)%20id">Link to this property</a>

name?: String

An account Name. Optional filter operators can be provided to extend refine the search:

- <code>equal</code> (default)
- <code>not_equal</code>
- <code>starts_with</code>
- <code>ends_with</code>
- <code>contains</code>
- <code>starts_with_case_sensitive</code>
- <code>ends_with_case_sensitive</code>
- <code>contains_case_sensitive</code>

<a href="#(resource)%20zones%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20filter%20%3E%20(attribute)%20account%20%3E%20(attribute)%20name">Link to this property</a>

</details>

<a href="#(resource)%20zones%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20filter%20%3E%20(attribute)%20account">Link to this property</a>

direction?: String

Direction to order zones.

<a href="#(resource)%20zones%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20filter%20%3E%20(attribute)%20direction">Link to this property</a>

match?: String

Whether to match all search requirements or at least one (any).

<a href="#(resource)%20zones%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20filter%20%3E%20(attribute)%20match">Link to this property</a>

name?: String

A domain name. Optional filter operators can be provided to extend refine the search:

- <code>equal</code> (default)
- <code>not_equal</code>
- <code>starts_with</code>
- <code>ends_with</code>
- <code>contains</code>
- <code>starts_with_case_sensitive</code>
- <code>ends_with_case_sensitive</code>
- <code>contains_case_sensitive</code>

<a href="#(resource)%20zones%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20filter%20%3E%20(attribute)%20name">Link to this property</a>

order?: String

Field to order zones by.

<a href="#(resource)%20zones%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20filter%20%3E%20(attribute)%20order">Link to this property</a>

status?: String

Specify a zone status to filter by.

<a href="#(resource)%20zones%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20filter%20%3E%20(attribute)%20status">Link to this property</a>

type?: List\[String]

Zone types to filter by. Multiple types can be specified as a comma-separated list (e.g., ?type=full,partial,secondary). When this parameter is not provided, zones with type “internal” are excluded from the results.

<a href="#(resource)%20zones%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20filter%20%3E%20(attribute)%20type">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zones%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20filter>)

##### computed Expand Collapse

id: String

Identifier

[Link to this property](<#(resource)%20zones%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20id>)

activated\_on: Time

The last time proof of ownership was detected and the zone was made active.

[Link to this property](<#(resource)%20zones%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20activated_on>)

cname\_suffix: String

Allows the customer to use a custom apex. *Tenants Only Configuration*.

[Link to this property](<#(resource)%20zones%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20cname_suffix>)

created\_on: Time

When the zone was created.

[Link to this property](<#(resource)%20zones%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20created_on>)

development\_mode: Float64

The interval (in seconds) from when development mode expires (positive integer) or last expired (negative integer) for the domain. If development mode has never been enabled, this value is 0.

[Link to this property](<#(resource)%20zones%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20development_mode>)

modified\_on: Time

When the zone was last modified.

[Link to this property](<#(resource)%20zones%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20modified_on>)

name: String

The domain name. Per [RFC 1035](https://datatracker.ietf.org/doc/html/rfc1035#section-2.3.4) the overall zone name can be up to 253 characters, with each segment (“label”) not exceeding 63 characters.

[Link to this property](<#(resource)%20zones%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20name>)

original\_dnshost: String

DNS host at the time of switching to Cloudflare.

[Link to this property](<#(resource)%20zones%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20original_dnshost>)

original\_registrar: String

Registrar for the domain at the time of switching to Cloudflare.

[Link to this property](<#(resource)%20zones%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20original_registrar>)

paused: Bool

Indicates whether the zone is only using Cloudflare DNS services. A true value means the zone will not receive security or performance benefits.

[Link to this property](<#(resource)%20zones%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20paused>)

status: String

The zone status on Cloudflare.

[Link to this property](<#(resource)%20zones%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20status>)

type: String

A full zone implies that DNS is hosted with Cloudflare. A partial zone is typically a partner-hosted zone or a CNAME setup.

[Link to this property](<#(resource)%20zones%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20type>)

verification\_key: String

Verification key for partial zone setup.

[Link to this property](<#(resource)%20zones%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20verification_key>)

name\_servers: List\[String]

The name servers Cloudflare assigns to a zone.

[Link to this property](<#(resource)%20zones%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20name_servers>)

original\_name\_servers: List\[String]

Original name servers before moving to Cloudflare.

[Link to this property](<#(resource)%20zones%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20original_name_servers>)

Deprecatedpermissions: List\[String]

This has been replaced by Account memberships.

Legacy permissions based on legacy user membership information.

[Link to this property](<#(resource)%20zones%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20permissions>)

vanity\_name\_servers: List\[String]

An array of domains used for custom name servers. This is only available for Business and Enterprise plans.

[Link to this property](<#(resource)%20zones%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20vanity_name_servers>)

<details>

<summary>

account: Attributes

The account the zone belongs to.

</summary>

id: String

Identifier

<a href="#(resource)%20zones%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20account%20%3E%20(attribute)%20id">Link to this property</a>

name: String

The name of the account.

<a href="#(resource)%20zones%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20account%20%3E%20(attribute)%20name">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zones%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20account>)

<details>

<summary>

meta: Attributes

Metadata about the zone.

</summary>

cdn\_only: Bool

The zone is only configured for CDN.

<a href="#(resource)%20zones%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20meta%20%3E%20(attribute)%20cdn_only">Link to this property</a>

custom\_certificate\_quota: Int64

Number of Custom Certificates the zone can have.

<a href="#(resource)%20zones%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20meta%20%3E%20(attribute)%20custom_certificate_quota">Link to this property</a>

dns\_only: Bool

The zone is only configured for DNS.

<a href="#(resource)%20zones%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20meta%20%3E%20(attribute)%20dns_only">Link to this property</a>

foundation\_dns: Bool

The zone is setup with Foundation DNS.

<a href="#(resource)%20zones%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20meta%20%3E%20(attribute)%20foundation_dns">Link to this property</a>

page\_rule\_quota: Int64

Number of Page Rules a zone can have.

<a href="#(resource)%20zones%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20meta%20%3E%20(attribute)%20page_rule_quota">Link to this property</a>

phishing\_detected: Bool

The zone has been flagged for phishing.

<a href="#(resource)%20zones%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20meta%20%3E%20(attribute)%20phishing_detected">Link to this property</a>

step: Int64

<a href="#(resource)%20zones%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20meta%20%3E%20(attribute)%20step">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zones%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20meta>)

<details>

<summary>

owner: Attributes

The owner of the zone.

</summary>

id: String

Identifier

<a href="#(resource)%20zones%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20owner%20%3E%20(attribute)%20id">Link to this property</a>

name: String

Name of the owner.

<a href="#(resource)%20zones%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20owner%20%3E%20(attribute)%20name">Link to this property</a>

type: String

The type of owner.

<a href="#(resource)%20zones%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20owner%20%3E%20(attribute)%20type">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zones%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20owner>)

<details>

<summary>

Deprecatedplan: Attributes

Please use the <code>/zones/{zone_id}/subscription</code> API to update a zone’s plan. Changing this value will create/cancel associated subscriptions. To view available plans for this zone, see <a href="https://developers.cloudflare.com/api/resources/zones/subresources/plans/">Zone Plans</a>.

A Zones subscription information.

</summary>

id: String

Identifier

<a href="#(resource)%20zones%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20plan%20%3E%20(attribute)%20id">Link to this property</a>

can\_subscribe: Bool

States if the subscription can be activated.

<a href="#(resource)%20zones%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20plan%20%3E%20(attribute)%20can_subscribe">Link to this property</a>

currency: String

The denomination of the customer.

<a href="#(resource)%20zones%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20plan%20%3E%20(attribute)%20currency">Link to this property</a>

externally\_managed: Bool

If this Zone is managed by another company.

<a href="#(resource)%20zones%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20plan%20%3E%20(attribute)%20externally_managed">Link to this property</a>

frequency: String

How often the customer is billed.

<a href="#(resource)%20zones%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20plan%20%3E%20(attribute)%20frequency">Link to this property</a>

is\_subscribed: Bool

States if the subscription active.

<a href="#(resource)%20zones%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20plan%20%3E%20(attribute)%20is_subscribed">Link to this property</a>

legacy\_discount: Bool

If the legacy discount applies to this Zone.

<a href="#(resource)%20zones%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20plan%20%3E%20(attribute)%20legacy_discount">Link to this property</a>

legacy\_id: String

The legacy name of the plan.

<a href="#(resource)%20zones%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20plan%20%3E%20(attribute)%20legacy_id">Link to this property</a>

name: String

Name of the owner.

<a href="#(resource)%20zones%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20plan%20%3E%20(attribute)%20name">Link to this property</a>

price: Float64

How much the customer is paying.

<a href="#(resource)%20zones%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20plan%20%3E%20(attribute)%20price">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zones%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20plan>)

<details>

<summary>

tenant: Attributes

The root organizational unit that this zone belongs to (such as a tenant or organization).

</summary>

id: String

Identifier

<a href="#(resource)%20zones%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20tenant%20%3E%20(attribute)%20id">Link to this property</a>

name: String

The name of the Tenant account.

<a href="#(resource)%20zones%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20tenant%20%3E%20(attribute)%20name">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zones%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20tenant>)

<details>

<summary>

tenant\_unit: Attributes

The immediate parent organizational unit that this zone belongs to (such as under a tenant or sub-organization).

</summary>

id: String

Identifier

<a href="#(resource)%20zones%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20tenant_unit%20%3E%20(attribute)%20id">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zones%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20tenant_unit>)

### cloudflare\_zone

Terraform

HTTPTypeScriptPythonGoTerraform

```
data "cloudflare_zone" "example_zone" {
  zone_id = "023e105f4ecef8ad9ca31a8372d0c353"
}
```

#### data cloudflare\_zones

##### optional Expand Collapse

direction?: String

Direction to order zones.

[Link to this property](<#(resource)%20zones%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20direction>)

name?: String

A domain name. Optional filter operators can be provided to extend refine the search:

- `equal` (default)
- `not_equal`
- `starts_with`
- `ends_with`
- `contains`
- `starts_with_case_sensitive`
- `ends_with_case_sensitive`
- `contains_case_sensitive`

[Link to this property](<#(resource)%20zones%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20name>)

order?: String

Field to order zones by.

[Link to this property](<#(resource)%20zones%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20order>)

status?: String

Specify a zone status to filter by.

[Link to this property](<#(resource)%20zones%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20status>)

type?: List\[String]

Zone types to filter by. Multiple types can be specified as a comma-separated list (e.g., ?type=full,partial,secondary). When this parameter is not provided, zones with type “internal” are excluded from the results.

[Link to this property](<#(resource)%20zones%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20type>)

<details>

<summary>

account?: Attributes

</summary>

id?: String

Filter by an account ID.

<a href="#(resource)%20zones%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20account%20%3E%20(attribute)%20id">Link to this property</a>

name?: String

An account Name. Optional filter operators can be provided to extend refine the search:

- <code>equal</code> (default)
- <code>not_equal</code>
- <code>starts_with</code>
- <code>ends_with</code>
- <code>contains</code>
- <code>starts_with_case_sensitive</code>
- <code>ends_with_case_sensitive</code>
- <code>contains_case_sensitive</code>

<a href="#(resource)%20zones%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20account%20%3E%20(attribute)%20name">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zones%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20account>)

match?: String

Whether to match all search requirements or at least one (any).

[Link to this property](<#(resource)%20zones%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20match>)

max\_items?: Int64

Max items to fetch, default: 1000

[Link to this property](<#(resource)%20zones%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20max_items>)

##### computed Expand Collapse

<details>

<summary>

result: List\[Attributes]

The items returned by the data source

</summary>

id: String

Identifier

<a href="#(resource)%20zones%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20id">Link to this property</a>

<details>

<summary>

account: Attributes

The account the zone belongs to.

</summary>

id: String

Identifier

<a href="#(resource)%20zones%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20account%20%3E%20(attribute)%20id">Link to this property</a>

name: String

The name of the account.

<a href="#(resource)%20zones%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20account%20%3E%20(attribute)%20name">Link to this property</a>

</details>

<a href="#(resource)%20zones%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20account">Link to this property</a>

activated\_on: Time

The last time proof of ownership was detected and the zone was made active.

<a href="#(resource)%20zones%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20activated_on">Link to this property</a>

created\_on: Time

When the zone was created.

<a href="#(resource)%20zones%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20created_on">Link to this property</a>

development\_mode: Float64

The interval (in seconds) from when development mode expires (positive integer) or last expired (negative integer) for the domain. If development mode has never been enabled, this value is 0.

<a href="#(resource)%20zones%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20development_mode">Link to this property</a>

<details>

<summary>

meta: Attributes

Metadata about the zone.

</summary>

cdn\_only: Bool

The zone is only configured for CDN.

<a href="#(resource)%20zones%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20meta%20%3E%20(attribute)%20cdn_only">Link to this property</a>

custom\_certificate\_quota: Int64

Number of Custom Certificates the zone can have.

<a href="#(resource)%20zones%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20meta%20%3E%20(attribute)%20custom_certificate_quota">Link to this property</a>

dns\_only: Bool

The zone is only configured for DNS.

<a href="#(resource)%20zones%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20meta%20%3E%20(attribute)%20dns_only">Link to this property</a>

foundation\_dns: Bool

The zone is setup with Foundation DNS.

<a href="#(resource)%20zones%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20meta%20%3E%20(attribute)%20foundation_dns">Link to this property</a>

page\_rule\_quota: Int64

Number of Page Rules a zone can have.

<a href="#(resource)%20zones%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20meta%20%3E%20(attribute)%20page_rule_quota">Link to this property</a>

phishing\_detected: Bool

The zone has been flagged for phishing.

<a href="#(resource)%20zones%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20meta%20%3E%20(attribute)%20phishing_detected">Link to this property</a>

step: Int64

<a href="#(resource)%20zones%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20meta%20%3E%20(attribute)%20step">Link to this property</a>

</details>

<a href="#(resource)%20zones%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20meta">Link to this property</a>

modified\_on: Time

When the zone was last modified.

<a href="#(resource)%20zones%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20modified_on">Link to this property</a>

name: String

The domain name. Per <a href="https://datatracker.ietf.org/doc/html/rfc1035#section-2.3.4">RFC 1035</a> the overall zone name can be up to 253 characters, with each segment (“label”) not exceeding 63 characters.

<a href="#(resource)%20zones%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20name">Link to this property</a>

name\_servers: List\[String]

The name servers Cloudflare assigns to a zone.

<a href="#(resource)%20zones%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20name_servers">Link to this property</a>

original\_dnshost: String

DNS host at the time of switching to Cloudflare.

<a href="#(resource)%20zones%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20original_dnshost">Link to this property</a>

original\_name\_servers: List\[String]

Original name servers before moving to Cloudflare.

<a href="#(resource)%20zones%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20original_name_servers">Link to this property</a>

original\_registrar: String

Registrar for the domain at the time of switching to Cloudflare.

<a href="#(resource)%20zones%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20original_registrar">Link to this property</a>

<details>

<summary>

owner: Attributes

The owner of the zone.

</summary>

id: String

Identifier

<a href="#(resource)%20zones%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20owner%20%3E%20(attribute)%20id">Link to this property</a>

name: String

Name of the owner.

<a href="#(resource)%20zones%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20owner%20%3E%20(attribute)%20name">Link to this property</a>

type: String

The type of owner.

<a href="#(resource)%20zones%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20owner%20%3E%20(attribute)%20type">Link to this property</a>

</details>

<a href="#(resource)%20zones%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20owner">Link to this property</a>

<details>

<summary>

Deprecatedplan: Attributes

Please use the <code>/zones/{zone_id}/subscription</code> API to update a zone’s plan. Changing this value will create/cancel associated subscriptions. To view available plans for this zone, see <a href="https://developers.cloudflare.com/api/resources/zones/subresources/plans/">Zone Plans</a>.

A Zones subscription information.

</summary>

id: String

Identifier

<a href="#(resource)%20zones%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20plan%20%3E%20(attribute)%20id">Link to this property</a>

can\_subscribe: Bool

States if the subscription can be activated.

<a href="#(resource)%20zones%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20plan%20%3E%20(attribute)%20can_subscribe">Link to this property</a>

currency: String

The denomination of the customer.

<a href="#(resource)%20zones%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20plan%20%3E%20(attribute)%20currency">Link to this property</a>

externally\_managed: Bool

If this Zone is managed by another company.

<a href="#(resource)%20zones%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20plan%20%3E%20(attribute)%20externally_managed">Link to this property</a>

frequency: String

How often the customer is billed.

<a href="#(resource)%20zones%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20plan%20%3E%20(attribute)%20frequency">Link to this property</a>

is\_subscribed: Bool

States if the subscription active.

<a href="#(resource)%20zones%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20plan%20%3E%20(attribute)%20is_subscribed">Link to this property</a>

legacy\_discount: Bool

If the legacy discount applies to this Zone.

<a href="#(resource)%20zones%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20plan%20%3E%20(attribute)%20legacy_discount">Link to this property</a>

legacy\_id: String

The legacy name of the plan.

<a href="#(resource)%20zones%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20plan%20%3E%20(attribute)%20legacy_id">Link to this property</a>

name: String

Name of the owner.

<a href="#(resource)%20zones%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20plan%20%3E%20(attribute)%20name">Link to this property</a>

price: Float64

How much the customer is paying.

<a href="#(resource)%20zones%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20plan%20%3E%20(attribute)%20price">Link to this property</a>

</details>

<a href="#(resource)%20zones%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20plan">Link to this property</a>

cname\_suffix: String

Allows the customer to use a custom apex. *Tenants Only Configuration*.

<a href="#(resource)%20zones%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20cname_suffix">Link to this property</a>

paused: Bool

Indicates whether the zone is only using Cloudflare DNS services. A true value means the zone will not receive security or performance benefits.

<a href="#(resource)%20zones%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20paused">Link to this property</a>

Deprecatedpermissions: List\[String]

This has been replaced by Account memberships.

Legacy permissions based on legacy user membership information.

<a href="#(resource)%20zones%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20permissions">Link to this property</a>

status: String

The zone status on Cloudflare.

<a href="#(resource)%20zones%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20status">Link to this property</a>

<details>

<summary>

tenant: Attributes

The root organizational unit that this zone belongs to (such as a tenant or organization).

</summary>

id: String

Identifier

<a href="#(resource)%20zones%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20tenant%20%3E%20(attribute)%20id">Link to this property</a>

name: String

The name of the Tenant account.

<a href="#(resource)%20zones%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20tenant%20%3E%20(attribute)%20name">Link to this property</a>

</details>

<a href="#(resource)%20zones%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20tenant">Link to this property</a>

<details>

<summary>

tenant\_unit: Attributes

The immediate parent organizational unit that this zone belongs to (such as under a tenant or sub-organization).

</summary>

id: String

Identifier

<a href="#(resource)%20zones%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20tenant_unit%20%3E%20(attribute)%20id">Link to this property</a>

</details>

<a href="#(resource)%20zones%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20tenant_unit">Link to this property</a>

type: String

A full zone implies that DNS is hosted with Cloudflare. A partial zone is typically a partner-hosted zone or a CNAME setup.

<a href="#(resource)%20zones%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20type">Link to this property</a>

vanity\_name\_servers: List\[String]

An array of domains used for custom name servers. This is only available for Business and Enterprise plans.

<a href="#(resource)%20zones%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20vanity_name_servers">Link to this property</a>

verification\_key: String

Verification key for partial zone setup.

<a href="#(resource)%20zones%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20verification_key">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zones%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result>)

### cloudflare\_zones

Terraform

HTTPTypeScriptPythonGoTerraform

```
data "cloudflare_zones" "example_zones" {
  account = {
    id = "id"
    name = "name"
  }
  direction = "desc"
  name = "name"
  order = "status"
  status = "initializing"
  type = ["full"]
}
```

#### ZonesObservabilityTracingSettings

#### resource cloudflare\_zone\_tracing

##### required Expand Collapse

zone\_id: String

Specify the zone ID.

[Link to this property](<#(resource)%20zones.observability.tracing.settings%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20zone_id>)

##### optional Expand Collapse

enabled?: Bool

Whether Cloudflare Traces is enabled for the zone.

[Link to this property](<#(resource)%20zones.observability.tracing.settings%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20enabled>)

forward\_context?: Bool

Whether trace context is sent externally or across a zone boundary.

[Link to this property](<#(resource)%20zones.observability.tracing.settings%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20forward_context>)

persist?: Bool

Whether traces are persisted in Cloudflare.

[Link to this property](<#(resource)%20zones.observability.tracing.settings%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20persist>)

propagation\_policy?: String

When inbound trace context may be continued. Authenticated propagation is not supported yet.

[Link to this property](<#(resource)%20zones.observability.tracing.settings%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20propagation_policy>)

sampling\_ratio?: Float64

The ratio of requests sampled for tracing, from 0 to 1.

[Link to this property](<#(resource)%20zones.observability.tracing.settings%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20sampling_ratio>)

destinations?: List\[String]

Up to 100 OpenTelemetry destination identifiers that receive traces.

[Link to this property](<#(resource)%20zones.observability.tracing.settings%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20destinations>)

##### computed Expand Collapse

id: String

Specify the zone ID.

[Link to this property](<#(resource)%20zones.observability.tracing.settings%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20id>)

### cloudflare\_zone\_tracing

Terraform

HTTPTypeScriptPythonGoTerraform

```
resource "cloudflare_zone_tracing" "example_zone_tracing" {
  zone_id = "zone_id"
  destinations = ["x"]
  enabled = true
  forward_context = true
  persist = true
  propagation_policy = "accept"
  sampling_ratio = 0
}
```

#### data cloudflare\_zone\_tracing

##### required Expand Collapse

zone\_id: String

Specify the zone ID.

[Link to this property](<#(resource)%20zones.observability.tracing.settings%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20zone_id>)

##### computed Expand Collapse

id: String

Specify the zone ID.

[Link to this property](<#(resource)%20zones.observability.tracing.settings%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20id>)

enabled: Bool

Whether Cloudflare Traces is enabled for the zone.

[Link to this property](<#(resource)%20zones.observability.tracing.settings%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20enabled>)

forward\_context: Bool

Whether trace context is sent externally or across a zone boundary.

[Link to this property](<#(resource)%20zones.observability.tracing.settings%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20forward_context>)

persist: Bool

Whether traces are persisted in Cloudflare.

[Link to this property](<#(resource)%20zones.observability.tracing.settings%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20persist>)

propagation\_policy: String

When inbound trace context may be continued. Authenticated propagation is not supported yet.

[Link to this property](<#(resource)%20zones.observability.tracing.settings%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20propagation_policy>)

sampling\_ratio: Float64

The ratio of requests sampled for tracing, from 0 to 1.

[Link to this property](<#(resource)%20zones.observability.tracing.settings%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20sampling_ratio>)

destinations: List\[String]

Up to 100 OpenTelemetry destination identifiers that receive traces.

[Link to this property](<#(resource)%20zones.observability.tracing.settings%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20destinations>)

### cloudflare\_zone\_tracing

Terraform

HTTPTypeScriptPythonGoTerraform

```
data "cloudflare_zone_tracing" "example_zone_tracing" {
  zone_id = "zone_id"
}
```

#### ZonesObservabilityTracingRules

#### resource cloudflare\_zone\_tracing\_rules

##### required Expand Collapse

zone\_id: String

Specify the zone ID.

[Link to this property](<#(resource)%20zones.observability.tracing.rules%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20zone_id>)

<details>

<summary>

rules: List\[Attributes]

Trace rules in evaluation order.

</summary>

action: String

<a href="#(resource)%20zones.observability.tracing.rules%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20rules%20%3E%20(attribute)%20action">Link to this property</a>

<details>

<summary>

action\_parameters: Attributes

</summary>

sampling\_ratio: Float64

The ratio of requests sampled for tracing, from 0 to 1.

<a href="#(resource)%20zones.observability.tracing.rules%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20rules%20%3E%20(attribute)%20action_parameters%20%3E%20(attribute)%20sampling_ratio">Link to this property</a>

</details>

<a href="#(resource)%20zones.observability.tracing.rules%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20rules%20%3E%20(attribute)%20action_parameters">Link to this property</a>

description: String

<a href="#(resource)%20zones.observability.tracing.rules%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20rules%20%3E%20(attribute)%20description">Link to this property</a>

enabled: Bool

<a href="#(resource)%20zones.observability.tracing.rules%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20rules%20%3E%20(attribute)%20enabled">Link to this property</a>

expression: String

A Rules language expression that selects requests.

<a href="#(resource)%20zones.observability.tracing.rules%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20rules%20%3E%20(attribute)%20expression">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zones.observability.tracing.rules%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20rules>)

##### computed Expand Collapse

id: String

Specify the zone ID.

[Link to this property](<#(resource)%20zones.observability.tracing.rules%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20id>)

### cloudflare\_zone\_tracing\_rules

Terraform

HTTPTypeScriptPythonGoTerraform

```
resource "cloudflare_zone_tracing_rules" "example_zone_tracing_rules" {
  zone_id = "zone_id"
  rules = [{
    action = "set_trace_settings"
    action_parameters = {
      sampling_ratio = 0
    }
    description = "description"
    enabled = true
    expression = "x"
  }]
}
```

#### data cloudflare\_zone\_tracing\_rules

##### required Expand Collapse

zone\_id: String

Specify the zone ID.

[Link to this property](<#(resource)%20zones.observability.tracing.rules%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20zone_id>)

##### computed Expand Collapse

id: String

Specify the zone ID.

[Link to this property](<#(resource)%20zones.observability.tracing.rules%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20id>)

<details>

<summary>

rules: List\[Attributes]

Trace rules in evaluation order.

</summary>

action: String

<a href="#(resource)%20zones.observability.tracing.rules%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20rules%20%3E%20(attribute)%20action">Link to this property</a>

<details>

<summary>

action\_parameters: Attributes

</summary>

sampling\_ratio: Float64

The ratio of requests sampled for tracing, from 0 to 1.

<a href="#(resource)%20zones.observability.tracing.rules%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20rules%20%3E%20(attribute)%20action_parameters%20%3E%20(attribute)%20sampling_ratio">Link to this property</a>

</details>

<a href="#(resource)%20zones.observability.tracing.rules%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20rules%20%3E%20(attribute)%20action_parameters">Link to this property</a>

description: String

<a href="#(resource)%20zones.observability.tracing.rules%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20rules%20%3E%20(attribute)%20description">Link to this property</a>

enabled: Bool

<a href="#(resource)%20zones.observability.tracing.rules%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20rules%20%3E%20(attribute)%20enabled">Link to this property</a>

expression: String

A Rules language expression that selects requests.

<a href="#(resource)%20zones.observability.tracing.rules%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20rules%20%3E%20(attribute)%20expression">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zones.observability.tracing.rules%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20rules>)

### cloudflare\_zone\_tracing\_rules

Terraform

HTTPTypeScriptPythonGoTerraform

```
data "cloudflare_zone_tracing_rules" "example_zone_tracing_rules" {
  zone_id = "zone_id"
}
```

#### ZonesSettings

#### resource cloudflare\_zone\_setting

##### required Expand Collapse

setting\_id: String

Setting name

[Link to this property](<#(resource)%20zones.settings%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20setting_id>)

zone\_id: String

Identifier

[Link to this property](<#(resource)%20zones.settings%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20zone_id>)

##### optional Expand Collapse

value?: JSON

Value of the zone setting.

[Link to this property](<#(resource)%20zones.settings%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20value>)

enabled?: Bool

ssl-recommender enrollment setting.

[Link to this property](<#(resource)%20zones.settings%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20enabled>)

##### computed Expand Collapse

id: String

Setting name

[Link to this property](<#(resource)%20zones.settings%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20id>)

editable: Bool

Whether or not this setting can be modified for this zone (based on your Cloudflare plan level).

[Link to this property](<#(resource)%20zones.settings%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20editable>)

modified\_on: Time

last time this setting was modified.

[Link to this property](<#(resource)%20zones.settings%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20modified_on>)

time\_remaining: Float64

Value of the zone setting. Notes: The interval (in seconds) from when development mode expires (positive integer) or last expired (negative integer) for the domain. If development mode has never been enabled, this value is false.

[Link to this property](<#(resource)%20zones.settings%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20time_remaining>)

### cloudflare\_zone\_setting

Terraform

HTTPTypeScriptPythonGoTerraform

```
resource "cloudflare_zone_setting" "example_zone_setting" {
  zone_id = "023e105f4ecef8ad9ca31a8372d0c353"
  setting_id = "always_online"
  enabled = true
}
```

#### data cloudflare\_zone\_setting

##### required Expand Collapse

setting\_id: String

Setting name

[Link to this property](<#(resource)%20zones.settings%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20setting_id>)

zone\_id: String

Identifier

[Link to this property](<#(resource)%20zones.settings%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20zone_id>)

##### computed Expand Collapse

id: String

Setting name

[Link to this property](<#(resource)%20zones.settings%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20id>)

editable: Bool

Whether or not this setting can be modified for this zone (based on your Cloudflare plan level).

[Link to this property](<#(resource)%20zones.settings%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20editable>)

enabled: Bool

ssl-recommender enrollment setting.

[Link to this property](<#(resource)%20zones.settings%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20enabled>)

modified\_on: Time

last time this setting was modified.

[Link to this property](<#(resource)%20zones.settings%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20modified_on>)

time\_remaining: Float64

Value of the zone setting. Notes: The interval (in seconds) from when development mode expires (positive integer) or last expired (negative integer) for the domain. If development mode has never been enabled, this value is false.

[Link to this property](<#(resource)%20zones.settings%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20time_remaining>)

value: String

Current value of the zone setting.

[Link to this property](<#(resource)%20zones.settings%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20value>)

### cloudflare\_zone\_setting

Terraform

HTTPTypeScriptPythonGoTerraform

```
data "cloudflare_zone_setting" "example_zone_setting" {
  zone_id = "023e105f4ecef8ad9ca31a8372d0c353"
  setting_id = "always_online"
}
```

#### data cloudflare\_zone\_settings

##### required Expand Collapse

zone\_id: String

Identifier

[Link to this property](<#(resource)%20zones.settings%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20zone_id>)

##### optional Expand Collapse

max\_items?: Int64

Max items to fetch, default: 1000

[Link to this property](<#(resource)%20zones.settings%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20max_items>)

##### computed Expand Collapse

<details>

<summary>

result: List\[Attributes]

The items returned by the data source

</summary>

id: String

ID of the zone setting.

<a href="#(resource)%20zones.settings%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20id">Link to this property</a>

value: String

Current value of the zone setting.

<a href="#(resource)%20zones.settings%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20value">Link to this property</a>

editable: Bool

Whether or not this setting can be modified for this zone (based on your Cloudflare plan level).

<a href="#(resource)%20zones.settings%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20editable">Link to this property</a>

modified\_on: Time

last time this setting was modified.

<a href="#(resource)%20zones.settings%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20modified_on">Link to this property</a>

time\_remaining: Float64

Value of the zone setting. Notes: The interval (in seconds) from when development mode expires (positive integer) or last expired (negative integer) for the domain. If development mode has never been enabled, this value is false.

<a href="#(resource)%20zones.settings%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20time_remaining">Link to this property</a>

enabled: Bool

ssl-recommender enrollment setting.

<a href="#(resource)%20zones.settings%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20enabled">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zones.settings%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result>)

### cloudflare\_zone\_settings

Terraform

HTTPTypeScriptPythonGoTerraform

```
data "cloudflare_zone_settings" "example_zone_settings" {
  zone_id = "023e105f4ecef8ad9ca31a8372d0c353"
}
```

#### ZonesNEL

#### resource cloudflare\_nel\_setting

##### required Expand Collapse

zone\_id: String

Identifier of the zone.

[Link to this property](<#(resource)%20zones.nel%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20zone_id>)

<details>

<summary>

value: Attributes

The NEL configuration value.

</summary>

enabled: Bool

Whether Network Error Logging is enabled for the zone. When enabled, browsers report network errors to Cloudflare’s NEL endpoint.

<a href="#(resource)%20zones.nel%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20value%20%3E%20(attribute)%20enabled">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zones.nel%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20value>)

##### computed Expand Collapse

id: String

Zone setting identifier.

[Link to this property](<#(resource)%20zones.nel%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20id>)

editable: Bool

Whether the setting is editable. This is false when the zone’s plan does not include NEL or the NEL product feature is not enabled.

[Link to this property](<#(resource)%20zones.nel%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20editable>)

modified\_on: Time

When the setting was last modified. A zero value (0001-01-01T00:00:00Z) indicates the setting has never been explicitly set and is using the default value.

[Link to this property](<#(resource)%20zones.nel%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20modified_on>)

### cloudflare\_nel\_setting

Terraform

HTTPTypeScriptPythonGoTerraform

```
resource "cloudflare_nel_setting" "example_nel_setting" {
  zone_id = "023e105f4ecef8ad9ca31a8372d0c353"
  value = {
    enabled = false
  }
}
```

#### data cloudflare\_nel\_setting

##### required Expand Collapse

zone\_id: String

Identifier of the zone.

[Link to this property](<#(resource)%20zones.nel%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20zone_id>)

##### computed Expand Collapse

id: String

Identifier of the zone.

[Link to this property](<#(resource)%20zones.nel%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20id>)

editable: Bool

Whether the setting is editable. This is false when the zone’s plan does not include NEL or the NEL product feature is not enabled.

[Link to this property](<#(resource)%20zones.nel%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20editable>)

modified\_on: Time

When the setting was last modified. A zero value (0001-01-01T00:00:00Z) indicates the setting has never been explicitly set and is using the default value.

[Link to this property](<#(resource)%20zones.nel%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20modified_on>)

<details>

<summary>

value: Attributes

The NEL configuration value.

</summary>

enabled: Bool

Whether Network Error Logging is enabled for the zone. When enabled, browsers report network errors to Cloudflare’s NEL endpoint.

<a href="#(resource)%20zones.nel%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20value%20%3E%20(attribute)%20enabled">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zones.nel%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20value>)

### cloudflare\_nel\_setting

Terraform

HTTPTypeScriptPythonGoTerraform

```
data "cloudflare_nel_setting" "example_nel_setting" {
  zone_id = "023e105f4ecef8ad9ca31a8372d0c353"
}
```

#### ZonesHolds

#### resource cloudflare\_zone\_hold

##### required Expand Collapse

zone\_id: String

Identifier.

[Link to this property](<#(resource)%20zones.holds%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20zone_id>)

##### optional Expand Collapse

hold\_after?: String

If `hold_after` is provided and future-dated, the hold will be temporarily disabled, then automatically re-enabled by the system at the time specified in this RFC3339-formatted timestamp. A past-dated `hold_after` value will have no effect on an existing, enabled hold. Providing an empty string will set its value to the current time. Providing `null` will disable the hold indefinitely.

[Link to this property](<#(resource)%20zones.holds%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20hold_after>)

include\_subdomains?: Bool

If `true`, the zone hold will extend to block any subdomain of the given zone, as well as SSL4SaaS Custom Hostnames. For example, a zone hold on a zone with the hostname ‘example.com’ and include\_subdomains=true will block ‘example.com’, ‘staging.example.com’, ‘api.staging.example.com’, etc.

[Link to this property](<#(resource)%20zones.holds%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20include_subdomains>)

##### computed Expand Collapse

id: String

Identifier.

[Link to this property](<#(resource)%20zones.holds%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20id>)

hold: Bool

[Link to this property](<#(resource)%20zones.holds%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20hold>)

### cloudflare\_zone\_hold

Terraform

HTTPTypeScriptPythonGoTerraform

```
resource "cloudflare_zone_hold" "example_zone_hold" {
  zone_id = "023e105f4ecef8ad9ca31a8372d0c353"
}
```

#### data cloudflare\_zone\_hold

##### required Expand Collapse

zone\_id: String

Identifier.

[Link to this property](<#(resource)%20zones.holds%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20zone_id>)

##### computed Expand Collapse

id: String

Identifier.

[Link to this property](<#(resource)%20zones.holds%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20id>)

hold: Bool

[Link to this property](<#(resource)%20zones.holds%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20hold>)

hold\_after: String

[Link to this property](<#(resource)%20zones.holds%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20hold_after>)

include\_subdomains: String

[Link to this property](<#(resource)%20zones.holds%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20include_subdomains>)

### cloudflare\_zone\_hold

Terraform

HTTPTypeScriptPythonGoTerraform

```
data "cloudflare_zone_hold" "example_zone_hold" {
  zone_id = "023e105f4ecef8ad9ca31a8372d0c353"
}
```

#### ZonesSubscriptions

#### resource cloudflare\_zone\_subscription

##### required Expand Collapse

zone\_id: String

Identifier

[Link to this property](<#(resource)%20zones.subscriptions%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20zone_id>)

##### optional Expand Collapse

frequency?: String

How often the subscription is renewed automatically.

[Link to this property](<#(resource)%20zones.subscriptions%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20frequency>)

<details>

<summary>

rate\_plan?: Attributes

The rate plan applied to the subscription.

</summary>

id?: String

The ID of the rate plan.

<a href="#(resource)%20zones.subscriptions%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20rate_plan%20%3E%20(attribute)%20id">Link to this property</a>

currency?: String

The currency applied to the rate plan subscription.

<a href="#(resource)%20zones.subscriptions%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20rate_plan%20%3E%20(attribute)%20currency">Link to this property</a>

externally\_managed?: Bool

Whether this rate plan is managed externally from Cloudflare.

<a href="#(resource)%20zones.subscriptions%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20rate_plan%20%3E%20(attribute)%20externally_managed">Link to this property</a>

is\_contract?: Bool

Whether a rate plan is enterprise-based (or newly adopted term contract).

<a href="#(resource)%20zones.subscriptions%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20rate_plan%20%3E%20(attribute)%20is_contract">Link to this property</a>

public\_name?: String

The full name of the rate plan.

<a href="#(resource)%20zones.subscriptions%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20rate_plan%20%3E%20(attribute)%20public_name">Link to this property</a>

scope?: String

The scope that this rate plan applies to.

<a href="#(resource)%20zones.subscriptions%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20rate_plan%20%3E%20(attribute)%20scope">Link to this property</a>

sets?: List\[String]

The list of sets this rate plan applies to. Returns array of strings.

<a href="#(resource)%20zones.subscriptions%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20rate_plan%20%3E%20(attribute)%20sets">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zones.subscriptions%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20rate_plan>)

##### computed Expand Collapse

id: String

Identifier

[Link to this property](<#(resource)%20zones.subscriptions%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20id>)

currency: String

The monetary unit in which pricing information is displayed.

[Link to this property](<#(resource)%20zones.subscriptions%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20currency>)

current\_period\_end: Time

The end of the current period and also when the next billing is due.

[Link to this property](<#(resource)%20zones.subscriptions%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20current_period_end>)

current\_period\_start: Time

When the current billing period started. May match initial\_period\_start if this is the first period.

[Link to this property](<#(resource)%20zones.subscriptions%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20current_period_start>)

price: Float64

The price of the subscription that will be billed, in US dollars.

[Link to this property](<#(resource)%20zones.subscriptions%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20price>)

state: String

The state that the subscription is in.

[Link to this property](<#(resource)%20zones.subscriptions%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20state>)

### cloudflare\_zone\_subscription

Terraform

HTTPTypeScriptPythonGoTerraform

```
resource "cloudflare_zone_subscription" "example_zone_subscription" {
  zone_id = "023e105f4ecef8ad9ca31a8372d0c353"
  frequency = "monthly"
  rate_plan = {
    id = "free"
    currency = "USD"
    externally_managed = false
    is_contract = false
    public_name = "Business Plan"
    scope = "zone"
    sets = ["string"]
  }
}
```

#### data cloudflare\_zone\_subscription

##### required Expand Collapse

zone\_id: String

Identifier

[Link to this property](<#(resource)%20zones.subscriptions%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20zone_id>)

##### computed Expand Collapse

id: String

Identifier

[Link to this property](<#(resource)%20zones.subscriptions%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20id>)

currency: String

The monetary unit in which pricing information is displayed.

[Link to this property](<#(resource)%20zones.subscriptions%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20currency>)

current\_period\_end: Time

The end of the current period and also when the next billing is due.

[Link to this property](<#(resource)%20zones.subscriptions%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20current_period_end>)

current\_period\_start: Time

When the current billing period started. May match initial\_period\_start if this is the first period.

[Link to this property](<#(resource)%20zones.subscriptions%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20current_period_start>)

frequency: String

How often the subscription is renewed automatically.

[Link to this property](<#(resource)%20zones.subscriptions%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20frequency>)

price: Float64

The price of the subscription that will be billed, in US dollars.

[Link to this property](<#(resource)%20zones.subscriptions%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20price>)

state: String

The state that the subscription is in.

[Link to this property](<#(resource)%20zones.subscriptions%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20state>)

<details>

<summary>

rate\_plan: Attributes

The rate plan applied to the subscription.

</summary>

id: String

The ID of the rate plan.

<a href="#(resource)%20zones.subscriptions%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20rate_plan%20%3E%20(attribute)%20id">Link to this property</a>

currency: String

The currency applied to the rate plan subscription.

<a href="#(resource)%20zones.subscriptions%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20rate_plan%20%3E%20(attribute)%20currency">Link to this property</a>

externally\_managed: Bool

Whether this rate plan is managed externally from Cloudflare.

<a href="#(resource)%20zones.subscriptions%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20rate_plan%20%3E%20(attribute)%20externally_managed">Link to this property</a>

is\_contract: Bool

Whether a rate plan is enterprise-based (or newly adopted term contract).

<a href="#(resource)%20zones.subscriptions%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20rate_plan%20%3E%20(attribute)%20is_contract">Link to this property</a>

public\_name: String

The full name of the rate plan.

<a href="#(resource)%20zones.subscriptions%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20rate_plan%20%3E%20(attribute)%20public_name">Link to this property</a>

scope: String

The scope that this rate plan applies to.

<a href="#(resource)%20zones.subscriptions%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20rate_plan%20%3E%20(attribute)%20scope">Link to this property</a>

sets: List\[String]

The list of sets this rate plan applies to. Returns array of strings.

<a href="#(resource)%20zones.subscriptions%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20rate_plan%20%3E%20(attribute)%20sets">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zones.subscriptions%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20rate_plan>)

### cloudflare\_zone\_subscription

Terraform

HTTPTypeScriptPythonGoTerraform

```
data "cloudflare_zone_subscription" "example_zone_subscription" {
  zone_id = "023e105f4ecef8ad9ca31a8372d0c353"
}
```

#### ZonesCTAlerting

#### resource cloudflare\_ct\_alerting

##### required Expand Collapse

zone\_id: String

Identifier.

[Link to this property](<#(resource)%20zones.ct.alerting%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20zone_id>)

enabled: Bool

Whether CT alerting is enabled for the zone.

[Link to this property](<#(resource)%20zones.ct.alerting%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20enabled>)

##### optional Expand Collapse

emails?: List\[String]

Email addresses that receive CT alert notifications for the zone. A maximum of 100 addresses may be configured. Each address must be a valid RFC 5322 email address and must not contain a comma.

[Link to this property](<#(resource)%20zones.ct.alerting%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20emails>)

##### computed Expand Collapse

id: String

Identifier.

[Link to this property](<#(resource)%20zones.ct.alerting%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20id>)

### cloudflare\_ct\_alerting

Terraform

HTTPTypeScriptPythonGoTerraform

```
resource "cloudflare_ct_alerting" "example_ct_alerting" {
  zone_id = "023e105f4ecef8ad9ca31a8372d0c353"
  enabled = true
  emails = ["security@example.com", "admin@example.com"]
}
```

#### data cloudflare\_ct\_alerting

##### required Expand Collapse

zone\_id: String

Identifier.

[Link to this property](<#(resource)%20zones.ct.alerting%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20zone_id>)

##### computed Expand Collapse

id: String

Identifier.

[Link to this property](<#(resource)%20zones.ct.alerting%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20id>)

enabled: Bool

Whether CT alerting is enabled for the zone.

[Link to this property](<#(resource)%20zones.ct.alerting%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20enabled>)

emails: List\[String]

Email addresses that receive CT alert notifications for the zone. A maximum of 100 addresses may be configured. Each address must be a valid RFC 5322 email address and must not contain a comma.

[Link to this property](<#(resource)%20zones.ct.alerting%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20emails>)

### cloudflare\_ct\_alerting

Terraform

HTTPTypeScriptPythonGoTerraform

```
data "cloudflare_ct_alerting" "example_ct_alerting" {
  zone_id = "023e105f4ecef8ad9ca31a8372d0c353"
}
```