Skip to main content

Aws Stackset Drift Detect

@jentz/aws-stackset-drift-detectv2026.06.13.0· 2d agoMODELS
01README

Trigger CloudFormation StackSet drift detection and record its outcome — the write-side sibling of @jentz/aws-stackset-audit. A single mutating detect method calls DetectStackSetDrift for the configured stackset, polls DescribeStackSetOperation to a terminal state (bounded by pollSeconds / maxPolls), and writes one operation resource capturing the operation id, action, terminal status, timestamps, and status reason.

It performs no instance audit and writes no summary/instance resources — that is the read-only @jentz/aws-stackset-audit. Compose the two in a swamp workflow: run this detect step first, then the audit step with dependsOn: succeeded, so the audit reads the refreshed per-instance drift status straight from AWS.

Mutating: it needs cloudformation:DetectStackSetDrift plus the stackset admin role, so a *-readonly profile deliberately cannot run it. The global-args shape (stackSetName, callAs, region, profile) is identical to the audit sibling so a workflow wires the same inputs into both steps. Only StackSet drift is in scope; stack-level DetectStackDrift is not.

02Models1
@jentz/aws-stackset-drift-detectv2026.06.13.0aws_stackset_drift_detect.ts

Global Arguments

ArgumentTypeDescription
stackSetNamestringThe name of the CloudFormation StackSet to run drift detection on
callAsenumWho you are calling as. SELF when signed in to the org management
regionstringRegion of the CloudFormation endpoint to talk to. StackSet metadata is
profilestringNamed AWS profile to use (resolved via fromIni). Empty (default) uses
fn detect(pollSeconds: number, maxPolls: number)
MUTATING (needs cloudformation:DetectStackSetDrift + the stackset
ArgumentTypeDescription
pollSecondsnumberSeconds between operation status polls.
maxPollsnumberMaximum status polls before timing out.

Resources

operation(infinite)— Outcome of one StackSet drift-detection operation: stackSetName,
03Stats
A
100 / 100
Downloads
0
Archive size
271.8 KB
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types (deprecated)1/1earned
  • Dependencies pass trust audit2/2earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License declared1/1earned
  • Verified public repository2/2earned
04Platforms
05Labels