Skip to content
Proud to collaborate with Microsoft for Startups

spad.ltip.create_oac ​

Create CloudFront OAC using LTIP protocol

Create CloudFront OAC using ltinteg-ltip-proto (DAG step).

Overview ​

PropertyValue
Workflow typeLinear
LibraryApp-spad
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
site_uuidstringNo—SpadSite.id used to derive slug/connection when omitted
organization_uuidstringNo—Organization that owns the site
slugstringNo—Used to name the OAC; falls back to site.slug
cloud_connection_uuidstringNo—CloudConnection.uuid; falls back to the site's cloud connection
workflow_run_idstringNo——
workflow_run_uuidstringNo—Parent workflow run ID stamped by the DAG engine (legacy alias)

Output Schema ​

FieldTypeRequiredDefaultDescription
cloudfront_oac_refstringYes—ID of the created CloudFront Origin Access Control
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——
site_uuidstringNo—SpadSite.id used to derive slug/connection when omitted
organization_uuidstringNo—Organization that owns the site
slugstringNo—Used to name the OAC; falls back to site.slug
cloud_connection_uuidstringNo—CloudConnection.uuid; falls back to the site's cloud connection
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—completeCreating CloudFront OAC via LTIP
completedNoYesYes—OAC created successfully
failedNoYesNo—OAC creation failed

State Diagram ​

Transitions ​

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

API Usage ​

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

{
  "workflow_type": "spad.ltip.create_oac",
  "initial_data": {
    "site_uuid": "value",
    "organization_uuid": "value",
    "slug": "value",
    "cloud_connection_uuid": "value"
  }
}