CmdID / aws / aws cloudformation
aws cloudformation detect-stack-drift
Detects whether a stack's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. AWS CLI reference
2 options Its page in the AWS CLI reference
Options
--logical-resource-idsThe logical names of any resources you want to use as filters.--stack-nameThe name of the stack for which you want to detect drift.