Skip to content
Proud to collaborate with Microsoft for Startups

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

Delete infrastructure (distribution, bucket)

Wrapper step for deleting infrastructure resources.

Updates infrastructure status to "deleting_infrastructure" 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
distribution_refstringNo—CloudFront distribution id (provider-native)
bucket_namestringNo—S3 bucket name (provider-native)
workflow_run_idstringNo——
workflow_run_uuidstringNo—Parent workflow run ID stamped by the DAG engine (legacy alias)
gcp_cdn_backend_bucket_namestringNo—DAG payload field
gcp_cdn_forwarding_rule_namestringNo—DAG payload field
gcp_cdn_target_proxy_namestringNo—DAG payload field
gcp_cdn_url_map_namestringNo—DAG payload field
gcp_https_forwarding_rule_namestringNo—DAG payload field
gcp_https_proxy_namestringNo—DAG payload field
gcp_managed_cert_namestringNo—DAG payload field

Output Schema ​

FieldTypeRequiredDefaultDescription
infrastructure_deletedbooleanYes—True once distribution/bucket deletion attempts have succeeded (or were absent)
distribution_deletedbooleanYes—True when the CF distribution was deleted or treated as not-found
bucket_deletedbooleanYes—True when the S3 bucket 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
distribution_refstringNo—CloudFront distribution id (provider-native)
bucket_namestringNo—S3 bucket name (provider-native)
workflow_run_uuidstringNo—Parent workflow run ID stamped by the DAG engine (legacy alias)
gcp_cdn_backend_bucket_namestringNo—DAG payload field
gcp_cdn_forwarding_rule_namestringNo—DAG payload field
gcp_cdn_target_proxy_namestringNo—DAG payload field
gcp_cdn_url_map_namestringNo—DAG payload field
gcp_https_forwarding_rule_namestringNo—DAG payload field
gcp_https_proxy_namestringNo—DAG payload field
gcp_managed_cert_namestringNo—DAG payload field
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—runInfrastructure deletion step accepted
runNoNo—completeDeleting distribution and bucket
completedNoYesYes—Infrastructure deletion completed
failedNoYesNo—Infrastructure deletion failed

State Diagram ​

Transitions ​

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

API Usage ​

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

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