aws.ec2.create_volume ​
Create an EBS volume 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. |
availability_zone | string | Yes | — | Availability zone for the volume. |
size | integer | No | — | Volume size in GiB. |
volume_type | string | No | — | EBS volume type such as gp3 or io2. |
iops | integer | No | — | Provisioned IOPS for the volume. |
throughput | integer | No | — | Provisioned throughput in MiB/s for gp3. |
snapshot_id | string | No | — | Snapshot ID to create the volume from. |
encrypted | boolean | No | — | Whether the volume is encrypted. |
kms_key_id | string | No | — | KMS key ID for encryption. |
tags | json | No | — | Tags to apply to the volume as a key/value map (or a native TagSpecifications list). |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
connection_uuid | uuid | No | — | CloudConnection UUID echoed from input. |
region | string | No | — | AWS region used. |
volume_id | string | No | — | ID of the created EBS volume. |
state | string | No | — | Provider volume state. |
volume | json | No | — | Sanitized provider Volume object. |
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.ec2.create_volume",
"initial_data": {
"connection_uuid": "value",
"availability_zone": "value"
}
}