aws.autoscaling.create_auto_scaling_group ​
Create an Amazon EC2 Auto Scaling group using a CloudConnection UUID.
Overview ​
| Property | Value |
|---|---|
| Workflow type | Atomic |
| Library | Base-aws |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
connection_uuid | uuid | Yes | — | CloudConnection UUID for the target AWS account. |
workflow_run_id | string | No | — | Engine DAG run ID stamped onto child steps. |
region | string | No | — | AWS region override. |
auto_scaling_group_name | string | Yes | — | Name of the Auto Scaling group to create. |
launch_template | json | No | — | Provider-native LaunchTemplate specification. |
launch_configuration_name | string | No | — | Name of an existing launch configuration. |
mixed_instances_policy | json | No | — | Provider-native MixedInstancesPolicy. |
min_size | integer | Yes | — | Minimum group size. |
max_size | integer | Yes | — | Maximum group size. |
desired_capacity | integer | No | — | Desired group capacity. |
vpc_zone_identifier | string | No | — | Comma-separated subnet IDs for the group. |
availability_zones | list | No | — | Availability zones for the group. |
target_group_arns | list | No | — | Target group ARNs to associate. |
health_check_type | string | No | — | Health check type (EC2, ELB, or custom). |
health_check_grace_period | integer | No | — | Health check grace period in seconds. |
tags | list | No | — | Tags to apply to the group and instances. |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
connection_uuid | uuid | No | — | CloudConnection UUID echoed from input. |
region | string | No | — | AWS region used. |
auto_scaling_group_name | string | No | — | Name of the created Auto Scaling group. |
created | boolean | No | — | Whether the Auto Scaling group was created. |
failure_reason | string | No | — | Human-readable failure reason. |
failed_step | string | No | — | Failed logical step. |
failed_layer | json | No | — | Failed DAG layer if engine supplies one. |
failed_at_state | string | No | — | State where failure occurred. |
error | string | No | — | Error message. |
error_type | string | No | — | Error class. |
failed_at | string | No | — | ISO failure timestamp. |
States ​
| State | Initial | Terminal | Success | Auto-advance | Description |
|---|---|---|---|---|---|
pending | Yes | No | — | execute | — |
completed | No | Yes | Yes | — | — |
failed | No | Yes | No | — | — |
State Diagram ​
Transitions ​
| From | Action | To | Description |
|---|---|---|---|
pending | execute | completed | — |
* (any state) | fail | failed | — |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "aws.autoscaling.create_auto_scaling_group",
"initial_data": {
"connection_uuid": "value",
"auto_scaling_group_name": "value",
"min_size": 123,
"max_size": 123
}
}