Skip to content
Proud to collaborate with Microsoft for Startups

gcp.compute.backend_bucket.create ​

Create a global backend bucket fronting a GCS bucket (static origin) for the L7 load balancer.

Create a global backend bucket fronting a GCS bucket for the L7 load balancer.

The static counterpart of gcp.compute.backend_service.create: it lets an HTTPS load balancer serve an SPA published to a GCS bucket as a url-map target, so static content and a Cloud Run API can sit behind one LB (one origin, path-split). Cloud CDN defaults on.

Overview ​

PropertyValue
Workflow typeLinear
LibraryBase-gcp
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
connection_uuiduuidYes—GCP CloudConnection UUID.
project_idstringNo—Explicit GCP project override.
namestringYes—Backend bucket name.
bucket_namestringYes—GCS bucket name the backend bucket fronts.
enable_cdnbooleanNo—Enable Cloud CDN; defaults to true.
descriptionstringNo—Optional resource description.

Output Schema ​

FieldTypeRequiredDefaultDescription
connection_uuiduuidNo—Echoed connection UUID.
project_idstringNo—Resolved GCP project.
namestringNo—Backend bucket name.
bucket_namestringNo—GCS bucket name fronted.
enable_cdnbooleanNo—Cloud CDN enabled flag.
descriptionstringNo—Resource description.
self_linkstringNo—Self link of the backend bucket.
operation_namestringNo—Compute operation name when created.
createdbooleanNo—True when created this run.
backend_bucketjsonNo—Sanitized provider backend bucket or operation.
failure_reasonstringNo—Human-readable failure reason.
failed_stepstringNo—Failed logical step.
failed_layerjsonNo—Engine failed layer if applicable.
failed_at_statestringNo—State where failure occurred.
errorstringNo—Error message.
error_typestringNo—Error class.

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—preflight—
creatingNoNo—complete—
preflightingNoNo—execute—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
pendingpreflightpreflighting—
preflightingexecutecreating—
creatingcompletecompleted—
* (any state)failfailed—

API Usage ​

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

{
  "workflow_type": "gcp.compute.backend_bucket.create",
  "initial_data": {
    "connection_uuid": "value",
    "name": "value",
    "bucket_name": "value"
  }
}