Deployments

GetStackDriftStatus

Retrieves the current drift detection status and associated metadata for a stack. Drift occurs when the actual state of cloud resources diverges from the state declared in the Pulumi program. The response indicates whether drift has been detected, when the last drift check was performed, and details about any detected differences. This is used in conjunction with drift detection schedules to monitor infrastructure compliance.

get/api/stacks/{orgName}/{projectName}/{stackName}/drift/status

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/status
  • Auth: none declared

Path parameters

orgNamestring required

The organization name

projectNamestring required

The project name

stackNamestring required

The stack name

Response

OK

driftDetectedboolean required

Whether drift was detected in the latest run.

latestDriftRunstring required

The identifier of the latest drift detection run.

runInProgressboolean required

Whether a drift detection run is currently in progress.

Changes

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