Skip to content
Proud to collaborate with Microsoft for Startups

spad.ltip.gcp.create_dns_record ​

Create Google Cloud DNS A record for SPAD site subdomain

Create a Google Cloud DNS A record pointing to the GCP CDN forwarding rule IP.

Overview ​

PropertyValue
Workflow typeLinear
LibraryApp-spad
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
cloud_connection_uuidstringYes—GCP CloudConnection.id
dns_zone_refstringNo—Cloud DNS managed-zone name; step skips when omitted
gcp_forwarding_rule_ipstringNo—CDN forwarding-rule IP (set by create_cdn); step skips when omitted
slugstringNo—Subdomain label for the A 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
gcp_dns_record_namestringNo—Fully-qualified record name written to Cloud DNS (created path only)
gcp_dns_zone_refstringNo—Cloud DNS managed-zone name the record lives in (created path only)
gcp_dns_fqdnstringNo—Public FQDN (without trailing dot) (created path only)
dns_skippedbooleanNo—True when the step skipped (no forwarding-rule IP or no zone)
dns_skip_reasonstringNo—Reason recorded on the skip path
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
cloud_connection_uuidstringNo—GCP CloudConnection.id
dns_zone_refstringNo—Cloud DNS managed-zone name; step skips when omitted
gcp_forwarding_rule_ipstringNo—CDN forwarding-rule IP (set by create_cdn); step skips when omitted
slugstringNo—Subdomain label for the A 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—completeCreating DNS A record
completedNoYesYes—DNS A record created
failedNoYesNo—DNS A record creation failed

State Diagram ​

Transitions ​

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

API Usage ​

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

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