Skip to content
Proud to collaborate with Microsoft for Startups

runner.ec2-vm-ssm-preflight ​

Validate STS identity and SSM RunCommand prerequisites for EC2 VM runners

Check that a CloudConnection can use STS and SSM for runner VMs.

Overview ​

PropertyValue
Workflow typeLinear
LibraryApp-runners-aws
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
connection_uuiduuidYes—UUID of the CloudConnection used by this workflow, picked from the organization's connections, narrowed to AWS connections since this workflow only operates on EC2 VM runners.
regionstringYes——
instance_idsjsonNo——
run_command_checkbooleanNo——
organization_uuiduuidNo—UUID of the caller's organization, injected server-side from the authenticated request; scopes the operation to the correct tenant.

Output Schema ​

FieldTypeRequiredDefaultDescription
connection_uuiduuidNo—UUID of the CloudConnection used by this workflow, echoed from input; picked from the organization's AWS-scoped connections.
regionstringNo——
caller_identityjsonNo——
managed_instance_idsjsonNo——
send_command_refstringNo——
readybooleanNo——
checksjsonNo——
completed_atstringNo——
failed_atstringNo——
failure_reasonstringNo——
errorstringNo——
error_typestringNo——
failed_at_statestringNo——
failed_layerjsonNo——
failed_stepjsonNo——

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—check—
checkingNoNo—complete—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
pendingcheckchecking—
checkingcompletecompleted—
* (any state)failfailed—

API Usage ​

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

{
  "workflow_type": "runner.ec2-vm-ssm-preflight",
  "initial_data": {
    "connection_uuid": "value",
    "region": "value"
  }
}