runner.create_gce_service_account__pre ​
Resolve SA mode + derive primitive inputs.
Overview ​
| Property | Value |
|---|---|
| Workflow type | Atomic |
| Library | App-runners-gcp |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
runner_group_uuid | uuid | Yes | — | UUID of the RunnerGroup this action operates on, picked from the organization's list of runner groups. |
organization_uuid | uuid | No | — | UUID of the caller's organization, injected server-side from the authenticated request; scopes the operation to the correct tenant. |
workflow_run_id | string | No | — | — |
workflow_run_uuid | string | No | — | Internal engine correlation/run identifier stamped by the wrapper DAG's action_start; not a business entity reference. |
project_id | string | No | — | GCP project id forwarded by the parent provision DAG; falls back to the runner group's config.project_id. |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
runner_group_uuid | uuid | No | — | UUID of the RunnerGroup this action operates on, picked from the organization's list of runner groups. |
organization_uuid | uuid | No | — | UUID of the caller's organization, injected server-side from the authenticated request; scopes the operation to the correct tenant. |
workflow_run_id | string | No | — | — |
workflow_run_uuid | string | No | — | Internal engine correlation/run identifier stamped by the parent DAG's action_start and echoed through this step's state; not a reference to any business entity. |
cloud_connection_uuid | uuid | No | — | UUID of the GCP CloudConnection backing this runner group's cloud backend, picked from the organization's GCP connections. |
project_id | string | No | — | — |
mode | string | No | — | — |
account_id | string | No | — | — |
display_name | string | No | — | — |
byo_sa_email | string | No | — | — |
skip_create_sa | boolean | No | — | — |
skip_iam_binding | boolean | No | — | — |
failure_reason | string | No | — | — |
failure_type | string | No | — | — |
failed_action | string | No | — | — |
failed_at_state | string | No | — | — |
failed_step | string | No | — | — |
failed_layer | string | No | — | — |
error | string | No | — | — |
error_type | string | No | — | — |
States ​
| State | Initial | Terminal | Success | Auto-advance | Description |
|---|---|---|---|---|---|
pending | Yes | No | — | execute | — |
completed | No | Yes | Yes | — | — |
failed | No | Yes | No | — | — |
State Diagram ​
Transitions ​
| From | Action | To | Description |
|---|---|---|---|
pending | execute | completed | — |
* (any state) | fail | failed | — |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "runner.create_gce_service_account__pre",
"initial_data": {
"runner_group_uuid": "value"
}
}