spad.ltip.azure.create_dns_cname ​
Create Azure DNS CNAME record for SPAD site pointing to Front Door
Create Azure DNS CNAME record → Front Door endpoint hostname. Skips gracefully when no dns_zone_id is configured on the connection.
Overview ​
| Property | Value |
|---|---|
| Workflow type | Linear |
| Library | App-spad |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
cloud_connection_uuid | string | Yes | — | Azure CloudConnection.id |
dns_zone_ref | string | No | — | Azure DNS zone (root domain); step skips when omitted |
azure_front_door_endpoint_hostname | string | No | — | Front Door endpoint hostname (CNAME target); step skips when omitted |
slug | string | No | — | Subdomain label for the CNAME record |
azure_storage_region | string | No | eastus | Region cached on the resource record |
site_uuid | string | No | — | SpadSite.id for context propagation |
organization_uuid | string | No | — | Organization that owns the site |
workflow_run_id | string | No | — | — |
workflow_run_uuid | string | No | — | Parent workflow run ID stamped by the DAG engine (legacy alias) |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
azure_dns_cname_created | boolean | No | — | True when the Azure DNS CNAME record was created (created path only) |
azure_dns_record_ref | string | No | — | Provider resource id for the DNS record (created path only) |
azure_dns_skipped | boolean | No | — | True when the step skipped (zone or endpoint missing) |
completed_at | string | No | — | ISO8601 timestamp when the step reached COMPLETED |
failed_at | string | No | — | ISO8601 timestamp when the step reached FAILED |
failure_reason | string | No | — | Reason recorded on the failure path |
workflow_run_id | string | No | — | — |
cloud_connection_uuid | string | No | — | Azure CloudConnection.id |
dns_zone_ref | string | No | — | Azure DNS zone (root domain); step skips when omitted |
azure_front_door_endpoint_hostname | string | No | — | Front Door endpoint hostname (CNAME target); step skips when omitted |
slug | string | No | — | Subdomain label for the CNAME record |
azure_storage_region | string | No | — | Region cached on the resource record |
site_uuid | string | No | — | SpadSite.id for context propagation |
organization_uuid | string | No | — | Organization that owns the site |
workflow_run_uuid | string | No | — | Parent workflow run ID stamped by the DAG engine (legacy alias) |
error | string | No | — | Engine-stamped failure metadata |
error_type | string | No | — | Engine-stamped failure metadata |
failed_at_state | json | No | — | Engine-stamped failure metadata |
failed_layer | json | No | — | Engine-stamped failure metadata |
failed_step | json | No | — | Engine-stamped failure metadata |
States ​
| State | Initial | Terminal | Success | Auto-advance | Description |
|---|---|---|---|---|---|
initiated | Yes | No | — | run | Step accepted |
run | No | No | — | complete | Creating DNS CNAME record |
completed | No | Yes | Yes | — | DNS CNAME created |
failed | No | Yes | No | — | DNS CNAME creation failed |
State Diagram ​
Transitions ​
| From | Action | To | Description |
|---|---|---|---|
initiated | run | run | Start DNS record creation |
run | complete | completed | Mark step completed |
* (any state) | fail | failed | Mark step failed |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "spad.ltip.azure.create_dns_cname",
"initial_data": {
"cloud_connection_uuid": "value"
}
}