Detect Stack Drift
A 3-step recipe with AWS CloudFormation. We can help you get access.
Recipe · 3 steps
Detect Stack Drift
with AWS CloudFormation · IT Infrastructure Management
Run drift detection on a stack and report which resources drifted.
- Start a stack-wide drift detection operation and capture the detection ID used to monitor progress.
- Poll DescribeStackDriftDetectionStatus until detection finishes. Branch to listing drifts on DETECTION_COMPLETE or to a failure end on DETECTION_FAILED.
- Retrieve the per-resource drift details for the stack, filtered to the resources that have actually drifted.
What you'll need to have ready
- stackName: The name or unique ID of the stack to check for drift.
For your developer
Arazzo workflow cloudformation:detect-stack-drift, 3 operations: detectStackDrift → describeStackDriftDetectionStatus → describeStackResourceDrifts. Specs on APIs.io.