Skip to content
Start here

Streams

resource cloudflare_pipeline_stream

required Expand Collapse
account_id: String

Specifies the public ID of the account.

name: String

Specifies the name of the Stream.

optional Expand Collapse
format?: Attributes
type: String
decimal_encoding?: String
timestamp_format?: String
unstructured?: Bool
compression?: String
row_group_bytes?: Int64
schema?: Attributes
fields?: List[Attributes]
type: String
metadata_key?: String
name?: String
required?: Bool
sql_name?: String
unit?: String
format?: Attributes
type: String
decimal_encoding?: String
timestamp_format?: String
unstructured?: Bool
compression?: String
row_group_bytes?: Int64
inferred?: Bool
http?: Attributes
authentication: Bool

Indicates that authentication is required for the HTTP endpoint.

enabled: Bool

Indicates that the HTTP endpoint is enabled.

cors?: Attributes

Specifies the CORS options for the HTTP endpoint.

origins?: List[String]
worker_binding?: Attributes
enabled: Bool

Indicates that the worker binding is enabled.

computed Expand Collapse
id: String

Indicates a unique identifier for this stream.

created_at: Time
endpoint: String

Indicates the endpoint URL of this stream.

modified_at: Time
version: Int64

Indicates the current version of this stream.

cloudflare_pipeline_stream

resource "cloudflare_pipeline_stream" "example_pipeline_stream" {
  account_id = "0123105f4ecef8ad9ca31a8372d0c353"
  name = "my_stream"
  format = {
    type = "json"
    decimal_encoding = "number"
    timestamp_format = "rfc3339"
    unstructured = true
  }
  http = {
    authentication = false
    enabled = true
    cors = {
      origins = ["string"]
    }
  }
  schema = {
    fields = [{
      type = "int32"
      metadata_key = "metadata_key"
      name = "name"
      required = true
      sql_name = "sql_name"
    }]
    format = {
      type = "json"
      decimal_encoding = "number"
      timestamp_format = "rfc3339"
      unstructured = true
    }
    inferred = true
  }
  worker_binding = {
    enabled = true
  }
}

data cloudflare_pipeline_stream

required Expand Collapse
account_id: String

Specifies the public ID of the account.

optional Expand Collapse
stream_id?: String

Specifies the public ID of the stream.

filter?: Attributes
pipeline_id?: String

Specifies the public ID of the pipeline.

computed Expand Collapse
id: String

Specifies the public ID of the stream.

created_at: Time
endpoint: String

Indicates the endpoint URL of this stream.

modified_at: Time
name: String

Indicates the name of the Stream.

version: Int64

Indicates the current version of this stream.

format: Attributes
type: String
decimal_encoding: String
timestamp_format: String
unstructured: Bool
compression: String
row_group_bytes: Int64
http: Attributes
authentication: Bool

Indicates that authentication is required for the HTTP endpoint.

enabled: Bool

Indicates that the HTTP endpoint is enabled.

cors: Attributes

Specifies the CORS options for the HTTP endpoint.

origins: List[String]
schema: Attributes
fields: List[Attributes]
type: String
metadata_key: String
name: String
required: Bool
sql_name: String
unit: String
format: Attributes
type: String
decimal_encoding: String
timestamp_format: String
unstructured: Bool
compression: String
row_group_bytes: Int64
inferred: Bool
worker_binding: Attributes
enabled: Bool

Indicates that the worker binding is enabled.

cloudflare_pipeline_stream

data "cloudflare_pipeline_stream" "example_pipeline_stream" {
  account_id = "0123105f4ecef8ad9ca31a8372d0c353"
  stream_id = "033e105f4ecef8ad9ca31a8372d0c353"
}

data cloudflare_pipeline_streams

required Expand Collapse
account_id: String

Specifies the public ID of the account.

optional Expand Collapse
pipeline_id?: String

Specifies the public ID of the pipeline.

max_items?: Int64

Max items to fetch, default: 1000

computed Expand Collapse
result: List[Attributes]

The items returned by the data source

id: String

Indicates a unique identifier for this stream.

created_at: Time
http: Attributes
authentication: Bool

Indicates that authentication is required for the HTTP endpoint.

enabled: Bool

Indicates that the HTTP endpoint is enabled.

cors: Attributes

Specifies the CORS options for the HTTP endpoint.

origins: List[String]
modified_at: Time
name: String

Indicates the name of the Stream.

version: Int64

Indicates the current version of this stream.

worker_binding: Attributes
enabled: Bool

Indicates that the worker binding is enabled.

endpoint: String

Indicates the endpoint URL of this stream.

format: Attributes
type: String
decimal_encoding: String
timestamp_format: String
unstructured: Bool
compression: String
row_group_bytes: Int64
schema: Attributes
fields: List[Attributes]
type: String
metadata_key: String
name: String
required: Bool
sql_name: String
unit: String
format: Attributes
type: String
decimal_encoding: String
timestamp_format: String
unstructured: Bool
compression: String
row_group_bytes: Int64
inferred: Bool

cloudflare_pipeline_streams

data "cloudflare_pipeline_streams" "example_pipeline_streams" {
  account_id = "0123105f4ecef8ad9ca31a8372d0c353"
  pipeline_id = "043e105f4ecef8ad9ca31a8372d0c353"
}