Skip to content
Start here

Workflows

resource cloudflare_workflow

required Expand Collapse
account_id: String
workflow_name: String
class_name: String
script_name: String
optional Expand Collapse
limits?: Attributes
steps?: Int64
computed Expand Collapse
id: String
name: String
created_on: Time
is_deleted: Float64
modified_on: Time
terminator_running: Float64
triggered_on: Time
version_id: String
instances: Attributes
complete: Float64
errored: Float64
paused: Float64
queued: Float64
running: Float64
terminated: Float64
waiting: Float64
waiting_for_pause: Float64

cloudflare_workflow

resource "cloudflare_workflow" "example_workflow" {
  account_id = "account_id"
  workflow_name = "x"
  class_name = "x"
  script_name = "x"
  limits = {
    steps = 1
  }
}

data cloudflare_workflow

required Expand Collapse
account_id: String
optional Expand Collapse
workflow_name?: String
filter?: Attributes
computed Expand Collapse
id: String
class_name: String
created_on: Time
modified_on: Time
name: String
script_name: String
triggered_on: Time
instances: Attributes
complete: Float64
errored: Float64
paused: Float64
queued: Float64
running: Float64
terminated: Float64
waiting: Float64
waiting_for_pause: Float64

cloudflare_workflow

data "cloudflare_workflow" "example_workflow" {
  account_id = "account_id"
  workflow_name = "x"
}

data cloudflare_workflows

required Expand Collapse
account_id: String
optional Expand Collapse
max_items?: Int64

Max items to fetch, default: 1000

computed Expand Collapse
result: List[Attributes]

The items returned by the data source

id: String
class_name: String
created_on: Time
instances: Attributes
complete: Float64
errored: Float64
paused: Float64
queued: Float64
running: Float64
terminated: Float64
waiting: Float64
waiting_for_pause: Float64
modified_on: Time
name: String
script_name: String
triggered_on: Time

cloudflare_workflows

data "cloudflare_workflows" "example_workflows" {
  account_id = "account_id"
  search = "x"
}