Skip to main content

DeploymentStatus

The current state of a deployment operation.

Deployments created with createDeployment enter the lifecycle at PENDING. Deployments created with proposeDeployment enter at PROPOSED and require approval before they can run:

Once a deployment reaches a terminal state (COMPLETED, FAILED, REJECTED, or ABORTED), it cannot transition again.

enum DeploymentStatus {
PROPOSED
REJECTED
APPROVED
PENDING
RUNNING
COMPLETED
FAILED
ABORTED
}

Values​

DeploymentStatus.PROPOSED {#proposed}​

A proposed deployment awaiting human approval. Proposed deployments are not scheduled and do not block the queue.

DeploymentStatus.REJECTED {#rejected}​

The proposal was rejected and will never run. Terminal.

DeploymentStatus.APPROVED {#approved}​

The proposal was approved and is waiting to execute. Approved deployments are drained from the queue alongside PENDING deployments.

DeploymentStatus.PENDING {#pending}​

The deployment is queued and waiting for execution to begin.

DeploymentStatus.RUNNING {#running}​

Infrastructure changes are actively being applied.

DeploymentStatus.COMPLETED {#completed}​

All infrastructure changes were applied successfully.

DeploymentStatus.FAILED {#failed}​

The deployment encountered an error. Check deployment logs for details.

DeploymentStatus.ABORTED {#aborted}​

An operator aborted the deployment via abortDeployment. Terminal. The instance's infrastructure state is left as it was at the moment of abort.

Member Of​

Deployment object ● DeploymentStatusFilter input