failguard.create_s3 ​
Create S3 bucket for FailGuard project (DAG step)
DAG step: create S3 bucket for a FailGuard project. Input: project_uuid, organization_uuid (from parent). Plugin: create_failguard_s3(project) or fallback provision_failguard_project(project).
Overview ​
| Property | Value |
|---|---|
| Workflow type | Linear |
| Library | App-failguard |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
project_uuid | string | Yes | — | — |
organization_uuid | string | Yes | — | — |
workflow_run_id | string | No | — | — |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
project_uuid | string | No | — | — |
organization_uuid | string | No | — | — |
workflow_run_id | string | No | — | — |
s3_created | boolean | No | — | — |
knowledge_base_ref | string | No | — | — |
bedrock_data_source_ref | string | No | — | — |
resources | json | No | — | — |
completed_at | string | No | — | — |
failed_at | string | No | — | — |
failure_reason | string | No | — | — |
failure_type | string | No | — | — |
failed_action | string | No | — | — |
failed_at_state | string | No | — | — |
failed_step | string | No | — | — |
failed_layer | string | No | — | — |
error | string | No | — | — |
error_type | string | No | — | — |
States ​
| State | Initial | Terminal | Success | Auto-advance | Description |
|---|---|---|---|---|---|
initiated | Yes | No | — | run | — |
run | No | No | — | complete | — |
completed | No | Yes | Yes | — | — |
failed | No | Yes | No | — | — |
State Diagram ​
Transitions ​
| From | Action | To | Description |
|---|---|---|---|
initiated | run | run | — |
run | complete | completed | — |
* (any state) | fail | failed | — |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "failguard.create_s3",
"initial_data": {
"project_uuid": "value",
"organization_uuid": "value"
}
}