Skip to content
Proud to collaborate with Microsoft for Startups

spad.ltip.gcp.create_cdn ​

Create GCP Cloud CDN edge stack for SPAD static delivery

Create the GCP CDN edge stack via LTIP.

Overview ​

PropertyValue
Workflow typeLinear
LibraryApp-spad
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
slugstringYes—Site slug used to name CDN resources
s3_bucket_namestringYes—Origin GCS bucket name (named s3_bucket_name for cross-provider parity)
cloud_connection_uuidstringYes—GCP CloudConnection.id
s3_regionstringNous-central1GCP region for the CDN stack
site_uuidstringNo—SpadSite.id for context propagation
organization_uuidstringNo—Organization that owns the site
workflow_run_idstringNo—Injected by the parent DAG; propagated through state_data
workflow_run_uuidstringNo—Parent workflow run ID stamped by the DAG engine (legacy alias)

Output Schema ​

FieldTypeRequiredDefaultDescription
cloudfront_domainstringYes—CDN URL (reused cross-provider key for the edge domain)
gcp_backend_bucket_namestringYes—Backend-bucket resource name
gcp_url_map_namestringYes—URL-map resource name
gcp_target_proxy_namestringYes—Target HTTPS/HTTP proxy resource name
gcp_forwarding_rule_namestringYes—Global forwarding-rule resource name
gcp_forwarding_rule_ipstringYes—Reserved global anycast IP for the forwarding rule
completed_atstringNo—ISO8601 timestamp when the step reached COMPLETED
failed_atstringNo—ISO8601 timestamp when the step reached FAILED
failure_reasonstringNo—Reason recorded on the failure path
workflow_run_idstringNo—Injected by the parent DAG; propagated through state_data
slugstringNo—Site slug used to name CDN resources
s3_bucket_namestringNo—Origin GCS bucket name (named s3_bucket_name for cross-provider parity)
cloud_connection_uuidstringNo—GCP CloudConnection.id
s3_regionstringNo—GCP region for the CDN stack
site_uuidstringNo—SpadSite.id for context propagation
organization_uuidstringNo—Organization that owns the site
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
initiatedYesNo—runStep accepted
runNoNo—completeProvisioning GCP CDN edge stack
completedNoYesYes—GCP CDN created
failedNoYesNo—GCP CDN creation failed

State Diagram ​

Transitions ​

FromActionToDescription
initiatedrunrunStart CDN creation
runcompletecompletedMark step completed
* (any state)failfailedMark step failed

API Usage ​

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

{
  "workflow_type": "spad.ltip.gcp.create_cdn",
  "initial_data": {
    "slug": "value",
    "s3_bucket_name": "value",
    "cloud_connection_uuid": "value"
  }
}