> ## Documentation Index
> Fetch the complete documentation index at: https://docs.amnify.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Deployment Statuses

Every Run in Amnify Deploy progresses through a series of statuses. This page is a complete reference for all possible statuses, their meaning, and what action (if any) is required from you.

***

## Status Reference

| Status                      | Icon | Description                                                                                               | Action Required                |
| --------------------------- | ---- | --------------------------------------------------------------------------------------------------------- | ------------------------------ |
| **Queued**                  | ⏳    | The run has been accepted and is waiting for an execution slot to become available                        | None — wait                    |
| **Pending**                 | ⏳    | The run is being prepared for execution                                                                   | None — wait                    |
| **Initializing**            | ⚙️   | The execution environment is being set up                                                                 | None — wait                    |
| **Planning**                | 🔍   | A change plan is being generated — a preview of every resource that will be created, modified, or deleted | None — wait                    |
| **Awaiting Plan Approval**  | 👁️  | The plan is ready. Review it and decide whether to proceed                                                | **Approve or Cancel**          |
| **Awaiting Apply Approval** | ✅    | The plan was approved. This is the final confirmation before changes are executed                         | **Approve or Cancel**          |
| **Applying**                | 🚀   | Infrastructure changes are being applied to your cloud environment                                        | None — wait                    |
| **Completed**               | ✅    | The run finished successfully. Infrastructure is provisioned (or updated)                                 | None                           |
| **Failed**                  | ❌    | An error occurred during execution. No further changes will be made                                       | Review logs, fix issue, re-run |
| **Destroying**              | 🗑️  | Cloud resources are being removed                                                                         | None — wait                    |
| **Destroyed**               | 🗑️  | All cloud resources managed by this deployment have been removed                                          | None                           |

***

## Status Flow — Execute (Deploy)

```mermaid theme={null}
flowchart LR
    Q[Queued] --> I[Initializing]
    I --> P[Planning]
    P --> WPA[Awaiting Plan<br/>Approval]
    WPA -->|Approved| WAA[Awaiting Apply<br/>Approval]
    WPA -->|Cancelled| END1([Cancelled])
    WAA -->|Approved| A[Applying]
    WAA -->|Cancelled| END2([Cancelled])
    A --> C([Completed])
    A --> F([Failed])
```

***

## Status Flow — Destroy

```mermaid theme={null}
flowchart LR
    Q[Queued] --> I[Initializing]
    I --> P[Planning]
    P --> WPA[Awaiting Plan<br/>Approval]
    WPA -->|Approved| WAA[Awaiting Apply<br/>Approval]
    WPA -->|Cancelled| END1([Cancelled])
    WAA -->|Approved| D[Destroying]
    WAA -->|Cancelled| END2([Cancelled])
    D --> DE([Destroyed])
    D --> F([Failed])
```

***

## Statuses That Require Action

Only two statuses require you to take action:

### Awaiting Plan Approval

The plan has been generated and is waiting for your review. You must either:

* **Approve** — proceed to the apply approval step
* **Cancel** — abort the run (nothing in your cloud is changed)

Open the Run detail page to read the plan output, then make your decision.

### Awaiting Apply Approval

The plan was approved and the run is waiting for your final confirmation. You must either:

* **Approve** — infrastructure changes begin immediately
* **Cancel** — abort the run (nothing in your cloud is changed)

Once you approve the apply, the run enters **Applying** or **Destroying** and cannot be stopped.

***

## Terminal Statuses

These statuses represent the end of a run's lifecycle:

| Status        | Description                                                               |
| ------------- | ------------------------------------------------------------------------- |
| **Completed** | The run succeeded. All planned changes were applied.                      |
| **Failed**    | The run encountered an unrecoverable error. Review the log for the cause. |
| **Destroyed** | The deployment's cloud resources were successfully removed.               |

***

## What "Failed" Means for Your Infrastructure

When a run fails:

* Execution stops at the point of failure
* Any resources that were successfully created *before* the failure remain in your cloud environment
* No further resources are created or modified after the point of failure
* The plan for the next execution will reflect the current actual state of your infrastructure — already-created resources will appear as already existing rather than new

You can safely re-execute after fixing the issue without worrying about creating duplicate resources.

***

## Related Pages

* [Deployment Lifecycle](/cspm-deploy/concepts/deployment-lifecycle) — conceptual explanation with diagrams
* [Monitoring Runs](/cspm-deploy/guides/monitoring-runs) — how to track and respond to runs
* [Approval Workflow](/cspm-deploy/guides/approval-workflow) — how to handle approval steps
