Spaces:
No application file
No application file
| **To detect drifted resources** | |
| The following ``detect-stack-drift`` example initiates drift detection for the specified stack. :: | |
| aws cloudformation detect-stack-drift \ | |
| --stack-name my-stack | |
| Output:: | |
| { | |
| "StackDriftDetectionId": "1a229160-e4d9-xmpl-ab67-0a4f93df83d4" | |
| } | |
| You can then use this ID with the ``describe-stack-resource-drifts`` command to describe drifted resources. | |