spad.drift-repair.gcp.ensure-gcp-cdn ​
Create the GCP CDN backend bucket + URL map + forwarding rule
Overview ​
| Property | Value |
|---|---|
| Workflow type | Linear |
| Library | App-spad |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
plan_uuid | uuid | Yes | — | — |
site_uuid | string | Yes | — | — |
organization_uuid | string | Yes | — | — |
actions_needed | list | No | — | — |
workflow_run_id | string | No | — | Injected by the parent DAG; propagated through state_data |
workflow_run_uuid | string | No | — | Parent workflow run ID stamped by the DAG engine (legacy alias) |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
component | string | Yes | — | — |
skipped | boolean | No | — | — |
blocked | boolean | No | — | — |
applied_action | string | No | — | — |
reason | string | No | — | — |
details | dict | No | — | — |
completed_at | string | No | — | — |
workflow_run_id | string | No | — | Injected by the parent DAG; propagated through state_data |
plan_uuid | uuid | No | — | Input field carried through workflow state |
site_uuid | string | No | — | Input field carried through workflow state |
organization_uuid | string | No | — | Input field carried through workflow state |
actions_needed | list | No | — | Input field carried through workflow state |
workflow_run_uuid | string | No | — | Parent workflow run ID stamped by the DAG engine (legacy alias) |
error | string | No | — | Engine-stamped failure metadata |
error_type | string | No | — | Engine-stamped failure metadata |
failed_at_state | json | No | — | Engine-stamped failure metadata |
failed_layer | json | No | — | Engine-stamped failure metadata |
failed_step | json | No | — | Engine-stamped failure metadata |
failure_reason | string | No | — | Engine-stamped failure metadata |
States ​
| State | Initial | Terminal | Success | Auto-advance | Description |
|---|---|---|---|---|---|
initiated | Yes | No | — | run | — |
run | No | No | — | complete | — |
completed | No | Yes | Yes | — | — |
failed | No | Yes | No | — | — |
State Diagram ​
Transitions ​
| From | Action | To | Description |
|---|---|---|---|
initiated | run | run | — |
run | complete | completed | — |
* (any state) | fail | failed | — |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "spad.drift-repair.gcp.ensure-gcp-cdn",
"initial_data": {
"plan_uuid": "value",
"site_uuid": "value",
"organization_uuid": "value"
}
}