Skip to content
Proud to collaborate with Microsoft for Startups

aws.ec2.create_launch_template_version ​

Add a new version to an existing EC2 launch template using a CloudConnection UUID.

Overview ​

PropertyValue
Workflow typeAtomic
LibraryBase-aws
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
connection_uuiduuidYes—CloudConnection UUID for the target AWS account.
workflow_run_idstringNo—Engine DAG run ID stamped onto child steps.
regionstringNo—AWS region override.
launch_template_idstringNo—ID of the existing launch template.
launch_template_namestringNo—Name of the existing launch template.
source_versionstringNo—Version number to base the new version on.
launch_template_datajsonYes—Provider-native LaunchTemplateData block for the new version.
version_descriptionstringNo—Description for the new version.

Output Schema ​

FieldTypeRequiredDefaultDescription
connection_uuiduuidNo—CloudConnection UUID echoed from input.
regionstringNo—AWS region used.
version_numberintegerNo—Version number of the created launch template version.
launch_template_versionjsonNo—Sanitized provider LaunchTemplateVersion object.
failure_reasonstringNo—Human-readable failure reason.
failed_stepstringNo—Failed logical step.
failed_layerjsonNo—Failed DAG layer if engine supplies one.
failed_at_statestringNo—State where failure occurred.
errorstringNo—Error message.
error_typestringNo—Error class.
failed_atstringNo—ISO failure timestamp.

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—execute—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
pendingexecutecompleted—
* (any state)failfailed—

API Usage ​

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

{
  "workflow_type": "aws.ec2.create_launch_template_version",
  "initial_data": {
    "connection_uuid": "value",
    "launch_template_data": "value"
  }
}