Skip to content
Proud to collaborate with Microsoft for Startups

data.deploy.target.create ​

Register a non-Kubernetes DeploymentTarget (Cloud Run / static / backend) so rollout workflows have a target to dispatch onto. DB-only; idempotent on (organization, cloud_connection, name).

Create a non-Kubernetes DeploymentTarget row (Cloud Run / static / backend).

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-deployments
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidYes—UUID of the organization that will own the target
cloud_connection_uuiduuidYes—UUID of the CloudConnection that hosts the target (GCP, AWS, Cloudflare, ...). provider_type is derived from it.
namestringYes—Human/operator name for the target. Unique per (organization, cloud_connection).
product_typestringYes—DeploymentProductType: spad
target_typestringYes—DeploymentTargetType: static_site
default_strategystringNo—DeploymentStrategyType: immediate
descriptionstringNo—Optional free-text description.
configjsonNo—Provider/runtime config for the target (e.g. project_id, region, service_name for Cloud Run; bucket/prefix for static).
image_templatestringNo—Optional image URI template; release.start substitutes image_tag into it.
release_configjsonNo—Optional default release configuration stored on the target.

Output Schema ​

FieldTypeRequiredDefaultDescription
deployment_target_uuiduuidYes—UUID of the created (or existing) DeploymentTarget
namestringYes——
product_typestringYes——
target_typestringYes——
provider_typestringYes——
default_strategystringYes——
createdbooleanYes—True when this run inserted a new row
already_existsbooleanYes—True when a matching (org, connection, name) target already existed
failure_reasonstringNo——
failure_typestringNo——
failed_actionstringNo——
failed_at_statestringNo——
failed_stepstringNo——
failed_layerstringNo——
errorstringNo——
error_typestringNo——

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—completeCreate DeploymentTarget
completedNoYesYes—Created
failedNoYesNo—Create failed

State Diagram ​

Transitions ​

FromActionToDescription
pendingcompletecompleted—
pendingfailfailed—

API Usage ​

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

{
  "workflow_type": "data.deploy.target.create",
  "initial_data": {
    "organization_uuid": "value",
    "cloud_connection_uuid": "value",
    "name": "value",
    "product_type": "value"
  }
}