Skip to content
Proud to collaborate with Microsoft for Startups

spad.site-deletion-delete-parallel-2 ​

Delete infrastructure (OAC)

Wrapper step for deleting cluster resources.

Updates infrastructure status to "deleting_clusters" before calling the atomic delete workflows.

Overview ​

PropertyValue
Workflow typeLinear
LibraryApp-spad
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
site_uuidstringYes—UUID of the SPAD site
organization_uuidstringYes—Organization UUID
cloud_connection_uuidstringYes—Cloud connection UUID
oac_refstringNo—CloudFront OAC id (provider-native)
workflow_run_idstringNo——
workflow_run_uuidstringNo—Parent workflow run ID stamped by the DAG engine (legacy alias)

Output Schema ​

FieldTypeRequiredDefaultDescription
infrastructure_deletedbooleanYes—True once the edge (OAC) deletion attempt has succeeded or been absent
oac_deletedbooleanYes—True when the OAC was deleted or treated as not-found
failure_reasonstringNo—Reason recorded on the failure path
workflow_run_idstringNo——
site_uuidstringNo—UUID of the SPAD site
organization_uuidstringNo—Organization UUID
cloud_connection_uuidstringNo—Cloud connection UUID
oac_refstringNo—CloudFront OAC id (provider-native)
workflow_run_uuidstringNo—Parent workflow run ID stamped by the DAG engine (legacy alias)
errorstringNo—Engine-stamped failure metadata
error_typestringNo—Engine-stamped failure metadata
failed_at_statejsonNo—Engine-stamped failure metadata
failed_layerjsonNo—Engine-stamped failure metadata
failed_stepjsonNo—Engine-stamped failure metadata

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—runEdge deletion step accepted
runNoNo—completeDeleting CloudFront OAC
completedNoYesYes—Edge deletion completed
failedNoYesNo—Edge deletion failed

State Diagram ​

Transitions ​

FromActionToDescription
pendingrunrunStart edge deletion
runcompletecompletedMark edge deletion completed
* (any state)failfailedMark edge deletion failed

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "spad.site-deletion-delete-parallel-2",
  "initial_data": {
    "site_uuid": "value",
    "organization_uuid": "value",
    "cloud_connection_uuid": "value"
  }
}