-
Notifications
You must be signed in to change notification settings - Fork 0
Cloud Workflows
Module flag: workflows
Enabled by default: yes
The Cloud Workflows module lists workflows and their execution history. Use it to audit workflow definitions, track execution outcomes, and identify long-running or failed executions.
GCP_PROJECT_ID=my-project ./aura-tracker-gcp --modules workflowsgcloud services enable workflows.googleapis.com| Role | Tools that need it |
|---|---|
roles/workflows.viewer |
All tools |
Lists Cloud Workflows in the project.
Parameters:
| Name | Required | Description |
|---|---|---|
project_id |
yes | GCP project ID |
location |
no | Region; - or omit for all regions |
Returns: Workflow name, region, state (ACTIVE / UNAVAILABLE), revision ID, service account, create time, update time, labels.
Lists recent executions of a workflow.
Parameters:
| Name | Required | Description |
|---|---|---|
project_id |
yes | GCP project ID |
location |
yes | Region |
workflow_name |
yes | Workflow name |
limit |
no | Max executions to return (default: 10) |
Returns: Execution ID, state (SUCCEEDED / FAILED / CANCELLED / ACTIVE), start time, end time, duration, error message (for failed executions).
Inventory
"List all Cloud Workflows in project my-project."
Failure audit
"Show me the last 20 executions of the
data-pipelineworkflow inus-central1— how many failed?"
Long-running detection
"Which workflow executions in project my-project have been running for more than 10 minutes?"
| Module flag | Why you'd combine it |
|---|---|
scheduler |
Find Scheduler jobs that trigger these workflows |
eventarc |
Find Eventarc triggers that invoke these workflows |
pubsub |
Find Pub/Sub topics used within workflows |
logging |
Fetch execution logs for failed workflow steps |