Problem Statement
What is drift detection in CloudFormation and why is it important?
Explanation
Drift detection in CloudFormation identifies differences between the actual state of resources and their declared configuration in the template.
It ensures infrastructure remains consistent with the defined specifications. Drift can occur due to manual changes or external updates. Detecting and correcting drift maintains compliance, reliability, and predictable behavior of automated deployments.
