Skip to content

Deployment status ​

Every deployment reports a status that tracks it from the moment it's queued until it finishes. This page explains what each status means, how a deployment moves between them, and why the same deployment can show a different status name in the REST API, in a webhook payload, and in the Pulumi Cloud console.

A deployment runs as a sequence of steps, shown as collapsible log sections on the deployment's page in the Pulumi Cloud console and listed in jobs[0].steps in the REST API. This page covers the deployment's status. For the status of individual steps, and the definition of each field, see the Deployments REST API reference.

Deployment statuses ​

StatusMeaning
not-startedThe deployment is in the deployment queue, waiting for its turn or for deployments to be resumed.
acceptedA runner has picked up the deployment, but it hasn't started running yet.
runningThe deployment is executing.
succeededThe deployment completed successfully.
failedThe deployment didn't complete successfully. This includes deployments that errored, timed out, or were canceled.
skippedThe deployment never ran, either because it stayed in the queue for longer than 7 days, or because a newer deployment of the stack was queued while skip intermediate deployments was enabled.

succeeded, failed, and skipped are terminal: a deployment in one of them doesn't change status again.

INFO

There is no canceled status. Canceling a deployment, whether it's still queued or already running, sets its status to failed. A deployment that times out is also reported as failed.

Status transitions ​

mermaid
stateDiagram-v2
    direction LR
    [*] --> not_started
    not_started --> accepted
    not_started --> failed: canceled
    not_started --> skipped: expired or superseded
    accepted --> running
    accepted --> failed
    running --> succeeded
    running --> failed
    succeeded --> [*]
    failed --> [*]
    skipped --> [*]
    not_started: not-started

The deployment queue, not the runner, sets skipped. It does so when it removes a deployment that hasn't started within 7 days, or when it drops a queued deployment in favor of a newer one because skip intermediate deployments is enabled. For the rules that govern how long a deployment waits, see Deployment queue.

Status names across Pulumi Cloud ​

The REST API reports the full set of statuses. Deployment webhooks and the Pulumi Cloud console each collapse some of them, so the same deployment can appear under different names:

REST API statusDeployment webhook statusPulumi Cloud console
not-startedqueuedQueued, or Paused when deployments are paused
acceptedqueuedRunning
runningrunningRunning
succeededsucceededSucceeded
failedfailedFailed
skippedNo event is deliveredSkipped

The queued value appears only in deployment webhook payloads, which use the generic JSON format. It covers both not-started and accepted, and is the status sent with the deployment_queued event. None of the deployment webhook events match a skipped deployment, so a webhook consumer isn't notified when a deployment is skipped.

Drift detection and drift remediation webhooks don't collapse statuses this way. Their status field can report any of the REST API values, including not-started and accepted.

Deployment status and update result ​

A deployment that runs a Pulumi operation creates an update, and the REST API returns each related update alongside the deployment. The update's result is a separate value from the deployment's status, with its own set of values:

Update resultMeaning
not-startedThe update hasn't started.
in-progressThe update is running.
succeededThe update completed successfully.
failedThe update failed.

Where the deployment distinguishes accepted from running, the update reports a single in-progress value, and the update has no equivalent of skipped. The update's result describes only the Pulumi operation, so check the deployment's status to know whether the deployment as a whole succeeded.

Content from the official Pulumi documentation (github.com/pulumi/docs).