Skip to main content

okustera_workflow_status (Data Source)

The okustera_workflow_status data source queries operational health, scheduler state, database connections, and S3 bucket health for the Managed Apache Airflow platform in Okustera.

Example Usage​

data "okustera_workflow_status" "cluster" {}

output "airflow_status" {
value = data.okustera_workflow_status.cluster.status
}

output "airflow_version" {
value = data.okustera_workflow_status.cluster.version
}

output "total_dags" {
value = data.okustera_workflow_status.cluster.total_dags
}

Schema​

Read-Only​

  • active_dags (Number) Count of actively scheduled DAGs.
  • database_status (String) CloudNativePG PostgreSQL 16 operational state.
  • executor (String) Task executor mechanism (e.g. KubernetesExecutor).
  • id (String) Constant identifier for this status datasource (workflow-status).
  • paused_dags (Number) Count of paused DAGs.
  • s3_storage_status (String) Ceph RADOS Gateway S3 bucket operational state.
  • scheduler_status (String) Scheduler pod operational state.
  • status (String) Overall workflow engine health (HEALTHY, DEGRADED, UNAVAILABLE).
  • total_dags (Number) Total number of registered DAGs.
  • triggerer_status (String) Triggerer pod operational state.
  • version (String) Apache Airflow core version.
  • web_ui_url (String) Direct URL to the native Apache Airflow Web UI.
  • webserver_status (String) Webserver pod operational state.