Skip to content
Proud to collaborate with Microsoft for Startups

spad.configure_bucket ​

Configure bucket (DAG step)

Configure bucket (DAG step).

Overview ​

PropertyValue
Workflow typeLinear
LibraryApp-spad
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
site_uuidstringYes—SpadSite.id for context propagation
cloud_connection_uuidstringYes—AWS CloudConnection.id
organization_uuidstringNo—Organization that owns the site
s3_bucket_namestringNo—Bucket name (set by create_bucket); falls back to lookup
s3_regionstringNo—Bucket region; inferred from connection when omitted
distribution_refstringNo—CloudFront distribution ID for the bucket policy

Output Schema ​

FieldTypeRequiredDefaultDescription
bucket_configuredbooleanYes—True once the bucket's website/CORS configuration is applied
resources_createdlistNo—Accumulator list of created resource tags (adds 's3_config')
completed_atstringNo—ISO8601 timestamp when the step reached COMPLETED
failed_atstringNo—ISO8601 timestamp when the step reached FAILED
site_uuidstringNo—SpadSite.id for context propagation
cloud_connection_uuidstringNo—AWS CloudConnection.id
organization_uuidstringNo—Organization that owns the site
s3_bucket_namestringNo—Bucket name (set by create_bucket); falls back to lookup
s3_regionstringNo—Bucket region; inferred from connection when omitted
distribution_refstringNo—CloudFront distribution ID for the bucket policy
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
failure_reasonstringNo—Engine-stamped failure metadata

States ​

StateInitialTerminalSuccessAuto-advanceDescription
initiatedYesNo—runStep accepted
runNoNo—completeExecuting site creation action
completedNoYesYes—Step completed successfully
failedNoYesNo—Step failed

State Diagram ​

Transitions ​

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

API Usage ​

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

{
  "workflow_type": "spad.configure_bucket",
  "initial_data": {
    "site_uuid": "value",
    "cloud_connection_uuid": "value"
  }
}