kestra_flow (Data Source)

Use this data source to access information about an existing Kestra Flow

Example Usage

hcl
data "kestra_flow" "example" {
  namespace = "io.kestra.mynamespace"
  id        = "my-flow"
}

Schema

Required

  • flow_id (String) The flow id.
  • namespace (String) The namespace.

Optional

  • keep_original_source (Boolean) Use the content as source code, keeping comment and indentation. Defaults to false.

Read-Only

  • content (String) The flow content as yaml.
  • id (String) The ID of this resource.
  • revision (Number) The flow revision.