---
title: Spectrum
---

[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**

# Spectrum

#### SpectrumApps

#### resource cloudflare\_spectrum\_application

##### required Expand Collapse

zone\_id: String

Zone identifier.

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

protocol: String

The port configuration at Cloudflare’s edge. May specify a single port, for example `"tcp/1000"`, or a range of ports, for example `"tcp/1000-2000"`.

[Link to this property](<#(resource)%20spectrum.apps%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20protocol>)

<details>

<summary>

dns: Attributes

The name and type of DNS record for the Spectrum application.

</summary>

name?: String

The name of the DNS record associated with the application.

<a href="#(resource)%20spectrum.apps%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20dns%20%3E%20(attribute)%20name">Link to this property</a>

type?: String

The type of DNS record associated with the application.

<a href="#(resource)%20spectrum.apps%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20dns%20%3E%20(attribute)%20type">Link to this property</a>

</details>

[Link to this property](<#(resource)%20spectrum.apps%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20dns>)

##### optional Expand Collapse

origin\_worker\_id?: String

Optional Worker script tag (worker ID) to use as the application’s origin. Only supported for TCP applications with traffic\_type “worker”; mutually exclusive with origin\_direct, origin\_dns, origin\_port, proxy\_protocol, and argo\_smart\_routing. tls may only be “off” or “flexible”.

[Link to this property](<#(resource)%20spectrum.apps%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20origin_worker_id>)

virtual\_network\_id?: String

Optional UUID of a virtual network for routing origin traffic through tunnel virtual networks.

[Link to this property](<#(resource)%20spectrum.apps%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20virtual_network_id>)

origin\_direct?: List\[String]

List of origin IP addresses. Array may contain multiple IP addresses for load balancing.

[Link to this property](<#(resource)%20spectrum.apps%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20origin_direct>)

<details>

<summary>

origin\_dns?: Attributes

The name and type of DNS record for the Spectrum application.

</summary>

name?: String

The name of the DNS record associated with the origin.

<a href="#(resource)%20spectrum.apps%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20origin_dns%20%3E%20(attribute)%20name">Link to this property</a>

ttl?: Int64

The TTL of our resolution of your DNS record in seconds.

<a href="#(resource)%20spectrum.apps%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20origin_dns%20%3E%20(attribute)%20ttl">Link to this property</a>

type?: String

The type of DNS record associated with the origin. "" is used to specify a combination of A/AAAA records.

<a href="#(resource)%20spectrum.apps%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20origin_dns%20%3E%20(attribute)%20type">Link to this property</a>

</details>

[Link to this property](<#(resource)%20spectrum.apps%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20origin_dns>)

origin\_port?: Dynamic Int64 | String

The destination port at the origin. Only specified in conjunction with origin\_dns. May use an integer to specify a single origin port, for example `1000`, or a string to specify a range of origin ports, for example `"1000-2000"`. Notes: If specifying a port range, the number of ports in the range must match the number of ports specified in the “protocol” field.

[Link to this property](<#(resource)%20spectrum.apps%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20origin_port>)

argo\_smart\_routing?: Bool

Enables Argo Smart Routing for this application. Notes: Only available for TCP or UDP applications with traffic\_type set to “direct”.

[Link to this property](<#(resource)%20spectrum.apps%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20argo_smart_routing>)

ip\_firewall?: Bool

Enables IP Access Rules for this application. Notes: Only available for TCP applications.

[Link to this property](<#(resource)%20spectrum.apps%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20ip_firewall>)

proxy\_protocol?: String

Enables Proxy Protocol to the origin. Refer to [Enable Proxy protocol](https://developers.cloudflare.com/spectrum/getting-started/proxy-protocol/) for implementation details on PROXY Protocol V1, PROXY Protocol V2, and Simple Proxy Protocol.

[Link to this property](<#(resource)%20spectrum.apps%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20proxy_protocol>)

tls?: String

The type of TLS termination associated with the application.

[Link to this property](<#(resource)%20spectrum.apps%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20tls>)

traffic\_type?: String

Determines how data travels from the edge to your origin. When set to “direct”, Spectrum will send traffic directly to your origin, and the application’s type is derived from the `protocol`. When set to “http” or “https”, Spectrum will apply Cloudflare’s HTTP/HTTPS features as it sends traffic to your origin, and the application type matches this property exactly. When set to “worker”, traffic is sent to the Worker specified by `origin_worker_id`.

[Link to this property](<#(resource)%20spectrum.apps%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20traffic_type>)

<details>

<summary>

edge\_ips?: Attributes

The anycast edge IP configuration for the hostname of this application.

</summary>

connectivity?: String

The IP versions supported for inbound connections on Spectrum anycast IPs.

<a href="#(resource)%20spectrum.apps%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20edge_ips%20%3E%20(attribute)%20connectivity">Link to this property</a>

type?: String

The type of edge IP configuration specified. Dynamically allocated edge IPs use Spectrum anycast IPs in accordance with the connectivity you specify. Only valid with CNAME DNS names.

<a href="#(resource)%20spectrum.apps%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20edge_ips%20%3E%20(attribute)%20type">Link to this property</a>

ips?: List\[String]

The array of customer owned IPs we broadcast via anycast for this hostname and application.

<a href="#(resource)%20spectrum.apps%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20edge_ips%20%3E%20(attribute)%20ips">Link to this property</a>

</details>

[Link to this property](<#(resource)%20spectrum.apps%20%3E%20(terraform%20resource)%20%3E%20(attribute)%20edge_ips>)

##### computed Expand Collapse

id: String

App identifier.

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

created\_on: Time

When the Application was created.

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

modified\_on: Time

When the Application was last modified.

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

### cloudflare\_spectrum\_application

Terraform

HTTPTypeScriptPythonGoTerraform

```
resource "cloudflare_spectrum_application" "example_spectrum_application" {
  zone_id = "023e105f4ecef8ad9ca31a8372d0c353"
  dns = {
    name = "ssh.example.com"
    type = "CNAME"
  }
  protocol = "tcp/22"
  traffic_type = "direct"
  argo_smart_routing = true
  edge_ips = {
    connectivity = "all"
    type = "dynamic"
  }
  ip_firewall = false
  origin_direct = ["tcp://127.0.0.1:8080"]
  origin_dns = {
    name = "origin.example.com"
    ttl = 600
    type = ""
  }
  origin_port = 22
  origin_worker_id = "277b7815c871434b960b60729659000a"
  proxy_protocol = "off"
  tls = "off"
  virtual_network_id = "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e"
}
```

#### data cloudflare\_spectrum\_application

##### required Expand Collapse

zone\_id: String

Zone identifier.

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

##### optional Expand Collapse

app\_id?: String

App identifier.

[Link to this property](<#(resource)%20spectrum.apps%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20app_id>)

<details>

<summary>

filter?: Attributes

</summary>

direction?: String

Sets the direction by which results are ordered.

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

order?: String

Application field by which results are ordered.

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

</details>

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

##### computed Expand Collapse

id: String

App identifier.

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

argo\_smart\_routing: Bool

Enables Argo Smart Routing for this application. Notes: Only available for TCP or UDP applications with traffic\_type set to “direct”.

[Link to this property](<#(resource)%20spectrum.apps%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20argo_smart_routing>)

created\_on: Time

When the Application was created.

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

ip\_firewall: Bool

Enables IP Access Rules for this application. Notes: Only available for TCP applications.

[Link to this property](<#(resource)%20spectrum.apps%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20ip_firewall>)

modified\_on: Time

When the Application was last modified.

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

origin\_worker\_id: String

Optional Worker script tag (worker ID) to use as the application’s origin. Only supported for TCP applications with traffic\_type “worker”; mutually exclusive with origin\_direct, origin\_dns, origin\_port, proxy\_protocol, and argo\_smart\_routing. tls may only be “off” or “flexible”.

[Link to this property](<#(resource)%20spectrum.apps%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20origin_worker_id>)

protocol: String

The port configuration at Cloudflare’s edge. May specify a single port, for example `"tcp/1000"`, or a range of ports, for example `"tcp/1000-2000"`.

[Link to this property](<#(resource)%20spectrum.apps%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20protocol>)

proxy\_protocol: String

Enables Proxy Protocol to the origin. Refer to [Enable Proxy protocol](https://developers.cloudflare.com/spectrum/getting-started/proxy-protocol/) for implementation details on PROXY Protocol V1, PROXY Protocol V2, and Simple Proxy Protocol.

[Link to this property](<#(resource)%20spectrum.apps%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20proxy_protocol>)

tls: String

The type of TLS termination associated with the application.

[Link to this property](<#(resource)%20spectrum.apps%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20tls>)

traffic\_type: String

Determines how data travels from the edge to your origin. When set to “direct”, Spectrum will send traffic directly to your origin, and the application’s type is derived from the `protocol`. When set to “http” or “https”, Spectrum will apply Cloudflare’s HTTP/HTTPS features as it sends traffic to your origin, and the application type matches this property exactly. When set to “worker”, traffic is sent to the Worker specified by `origin_worker_id`.

[Link to this property](<#(resource)%20spectrum.apps%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20traffic_type>)

virtual\_network\_id: String

Optional UUID of a virtual network for routing origin traffic through tunnel virtual networks.

[Link to this property](<#(resource)%20spectrum.apps%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20virtual_network_id>)

origin\_direct: List\[String]

List of origin IP addresses. Array may contain multiple IP addresses for load balancing.

[Link to this property](<#(resource)%20spectrum.apps%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20origin_direct>)

<details>

<summary>

dns: Attributes

The name and type of DNS record for the Spectrum application.

</summary>

name: String

The name of the DNS record associated with the application.

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

type: String

The type of DNS record associated with the application.

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

</details>

[Link to this property](<#(resource)%20spectrum.apps%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20dns>)

<details>

<summary>

edge\_ips: Attributes

The anycast edge IP configuration for the hostname of this application.

</summary>

connectivity: String

The IP versions supported for inbound connections on Spectrum anycast IPs.

<a href="#(resource)%20spectrum.apps%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20edge_ips%20%3E%20(attribute)%20connectivity">Link to this property</a>

type: String

The type of edge IP configuration specified. Dynamically allocated edge IPs use Spectrum anycast IPs in accordance with the connectivity you specify. Only valid with CNAME DNS names.

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

ips: List\[String]

The array of customer owned IPs we broadcast via anycast for this hostname and application.

<a href="#(resource)%20spectrum.apps%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20edge_ips%20%3E%20(attribute)%20ips">Link to this property</a>

</details>

[Link to this property](<#(resource)%20spectrum.apps%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20edge_ips>)

<details>

<summary>

origin\_dns: Attributes

The name and type of DNS record for the Spectrum application.

</summary>

name: String

The name of the DNS record associated with the origin.

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

ttl: Int64

The TTL of our resolution of your DNS record in seconds.

<a href="#(resource)%20spectrum.apps%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20origin_dns%20%3E%20(attribute)%20ttl">Link to this property</a>

type: String

The type of DNS record associated with the origin. "" is used to specify a combination of A/AAAA records.

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

</details>

[Link to this property](<#(resource)%20spectrum.apps%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20origin_dns>)

origin\_port: Dynamic Int64 | String

The destination port at the origin. Only specified in conjunction with origin\_dns. May use an integer to specify a single origin port, for example `1000`, or a string to specify a range of origin ports, for example `"1000-2000"`. Notes: If specifying a port range, the number of ports in the range must match the number of ports specified in the “protocol” field.

[Link to this property](<#(resource)%20spectrum.apps%20%3E%20(terraform%20datasource-single)%20%3E%20(attribute)%20origin_port>)

### cloudflare\_spectrum\_application

Terraform

HTTPTypeScriptPythonGoTerraform

```
data "cloudflare_spectrum_application" "example_spectrum_application" {
  zone_id = "023e105f4ecef8ad9ca31a8372d0c353"
  app_id = "023e105f4ecef8ad9ca31a8372d0c353"
}
```

#### data cloudflare\_spectrum\_applications

##### required Expand Collapse

zone\_id: String

Zone identifier.

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

##### optional Expand Collapse

direction?: String

Sets the direction by which results are ordered.

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

order?: String

Application field by which results are ordered.

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

max\_items?: Int64

Max items to fetch, default: 1000

[Link to this property](<#(resource)%20spectrum.apps%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

App identifier.

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

created\_on: Time

When the Application was created.

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

<details>

<summary>

dns: Attributes

The name and type of DNS record for the Spectrum application.

</summary>

name: String

The name of the DNS record associated with the application.

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

type: String

The type of DNS record associated with the application.

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

</details>

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

modified\_on: Time

When the Application was last modified.

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

protocol: String

The port configuration at Cloudflare’s edge. May specify a single port, for example <code>"tcp/1000"</code>, or a range of ports, for example <code>"tcp/1000-2000"</code>.

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

traffic\_type: String

Determines how data travels from the edge to your origin. When set to “direct”, Spectrum will send traffic directly to your origin, and the application’s type is derived from the <code>protocol</code>. When set to “http” or “https”, Spectrum will apply Cloudflare’s HTTP/HTTPS features as it sends traffic to your origin, and the application type matches this property exactly. When set to “worker”, traffic is sent to the Worker specified by <code>origin_worker_id</code>.

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

argo\_smart\_routing: Bool

Enables Argo Smart Routing for this application. Notes: Only available for TCP or UDP applications with traffic\_type set to “direct”.

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

<details>

<summary>

edge\_ips: Attributes

The anycast edge IP configuration for the hostname of this application.

</summary>

connectivity: String

The IP versions supported for inbound connections on Spectrum anycast IPs.

<a href="#(resource)%20spectrum.apps%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20edge_ips%20%3E%20(attribute)%20connectivity">Link to this property</a>

type: String

The type of edge IP configuration specified. Dynamically allocated edge IPs use Spectrum anycast IPs in accordance with the connectivity you specify. Only valid with CNAME DNS names.

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

ips: List\[String]

The array of customer owned IPs we broadcast via anycast for this hostname and application.

<a href="#(resource)%20spectrum.apps%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20edge_ips%20%3E%20(attribute)%20ips">Link to this property</a>

</details>

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

ip\_firewall: Bool

Enables IP Access Rules for this application. Notes: Only available for TCP applications.

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

origin\_direct: List\[String]

List of origin IP addresses. Array may contain multiple IP addresses for load balancing.

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

<details>

<summary>

origin\_dns: Attributes

The name and type of DNS record for the Spectrum application.

</summary>

name: String

The name of the DNS record associated with the origin.

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

ttl: Int64

The TTL of our resolution of your DNS record in seconds.

<a href="#(resource)%20spectrum.apps%20%3E%20(terraform%20datasource-plural)%20%3E%20(attribute)%20result%20%3E%20(attribute)%20origin_dns%20%3E%20(attribute)%20ttl">Link to this property</a>

type: String

The type of DNS record associated with the origin. "" is used to specify a combination of A/AAAA records.

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

</details>

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

origin\_port: Dynamic Int64 | String

The destination port at the origin. Only specified in conjunction with origin\_dns. May use an integer to specify a single origin port, for example <code>1000</code>, or a string to specify a range of origin ports, for example <code>"1000-2000"</code>. Notes: If specifying a port range, the number of ports in the range must match the number of ports specified in the “protocol” field.

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

origin\_worker\_id: String

Optional Worker script tag (worker ID) to use as the application’s origin. Only supported for TCP applications with traffic\_type “worker”; mutually exclusive with origin\_direct, origin\_dns, origin\_port, proxy\_protocol, and argo\_smart\_routing. tls may only be “off” or “flexible”.

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

proxy\_protocol: String

Enables Proxy Protocol to the origin. Refer to <a href="https://developers.cloudflare.com/spectrum/getting-started/proxy-protocol/">Enable Proxy protocol</a> for implementation details on PROXY Protocol V1, PROXY Protocol V2, and Simple Proxy Protocol.

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

tls: String

The type of TLS termination associated with the application.

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

virtual\_network\_id: String

Optional UUID of a virtual network for routing origin traffic through tunnel virtual networks.

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

</details>

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

### cloudflare\_spectrum\_applications

Terraform

HTTPTypeScriptPythonGoTerraform

```
data "cloudflare_spectrum_applications" "example_spectrum_applications" {
  zone_id = "023e105f4ecef8ad9ca31a8372d0c353"
}
```

#### SpectrumProtocols

#### data cloudflare\_spectrum\_protocols

##### required Expand Collapse

zone\_id: String

Zone identifier.

[Link to this property](<#(resource)%20spectrum.protocols%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)%20spectrum.protocols%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>

description: String

The full name of the application protocol.

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

name: String

The short name of the application protocol.

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

ports: List\[Int64]

The available listening ports for the given protocol.

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

transport: String

The transport layer protocol used by the application protocol

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

</details>

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

### cloudflare\_spectrum\_protocols

Terraform

HTTPTypeScriptPythonGoTerraform

```
data "cloudflare_spectrum_protocols" "example_spectrum_protocols" {
  zone_id = "023e105f4ecef8ad9ca31a8372d0c353"
}
```