Skip to content
Proud to collaborate with Microsoft for Startups

spad.ltip.gcp.configure_bucket ​

Configure GCS bucket website settings and public IAM via LTIP

Configure GCS bucket for public static website serving (DAG step).

Overview ​

PropertyValue
Workflow typeLinear
LibraryApp-spad
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
s3_bucket_namestringYes—GCS bucket to configure (named s3_bucket_name for cross-provider parity)
cloud_connection_uuidstringYes—GCP CloudConnection.id
s3_regionstringNous-east-1GCS region cached on the resource record
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
gcs_bucket_urlstringYes—Public GCS bucket URL (https://storage.googleapis.com/{bucket})
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
s3_bucket_namestringNo—GCS bucket to configure (named s3_bucket_name for cross-provider parity)
cloud_connection_uuidstringNo—GCP CloudConnection.id
s3_regionstringNo—GCS region cached on the resource record
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—completeConfiguring GCS bucket via LTIP
completedNoYesYes—GCS bucket configured successfully
failedNoYesNo—GCS bucket configuration failed

State Diagram ​

Transitions ​

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

API Usage ​

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

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