Deployments

GetDriftRun

Returns a single drift detection run by its unique identifier. The response includes whether drift was detected and details about the detection and any remediation updates. Returns 404 if the drift run does not exist or does not belong to the specified stack.

get/api/stacks/{orgName}/{projectName}/{stackName}/drift/runs/{driftRunId}

Request

  • Base URL: https://api.pulumi.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.pulumi.com/api/stacks/{orgName}/{projectName}/{stackName}/drift/runs/{driftRunId}
  • Auth: none declared

Path parameters

orgNamestring required

The organization name

projectNamestring required

The project name

stackNamestring required

The stack name

driftRunIdstring required

The unique identifier of the drift run

Response

OK

createdstring required

The timestamp when the drift run was created.

deploymentIdstring

The deployment identifier associated with the drift run.

deploymentVersioninteger

The deployment version associated with the drift run.

driftDetectedboolean required

Whether drift was detected during the run.

idstring required

The unique identifier of the drift run.

status'not-started' | 'accepted' | 'running' | 'failed' | 'succeeded' | 'skipped' required

The current status of the drift run. For a run started by a deployment, this is the deployment's status. Otherwise it is derived from the state of the run's refresh preview update: running while the update is in progress, then succeeded or failed. Canceled and timed-out updates report failed.

Changes

No recorded changes to this operation across all 1 revision of this API.