aws-cloudformation
Verified for current stable LTS
Aws Cloudformation Command: Describe Stack Resource Drifts
An engineer would use the 'aws cloudformation describe-stack-resource-drifts' command to analyze discrepancies between the actual configuration of resources in a specified CloudFormation stack and the expected configuration defined in the template, particularly after updates or modifications to ensure compliance and detect potential issues. Exact CLI syntax to describe stack resource drifts using Aws Cloudformation.
When to use this: An engineer would use the 'aws cloudformation describe-stack-resource-drifts' command to analyze discrepancies between the actual configuration of resources in a specified CloudFormation stack and the expected configuration defined in the template, particularly after updates or modifications to ensure compliance and detect potential issues.
Command Syntax
aws cloudformation describe-stack-resource-drifts --stack-name <stack-drift-detection-id> --profile <profile> aws cloudformation describe-stack-resource-drifts --stack-name <stack-drift-detection-id> --profile <profile> Command Breakdown
--stack-name- Command Option
- Tool-specific option used by this command invocation.
--profile- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to describe stack resource drifts using Aws Cloudformation.
Test path: Replace placeholders and run destructive commands in a disposable workspace first.
Flag behavior: Tool version, platform, and shell can change behavior.
Improve This Command
Suggest a correction, safer default, or version-specific note for this entry.
Related Operations
Aws Cloudformation Command: Create Stack
aws cloudformation create-stack --stack-name <stack-name> --region <region> --template-body {file://path/to/file.yml} --profile <profile> Aws Cloudformation Command: List Running Stacks aws cloudformation list-stacks --stack-status-filter CREATE_COMPLETE --profile <profile> Aws Cloudformation Command: Describe Stacks aws cloudformation describe-stacks --stack-name <stack-id> --profile <profile> Aws Cloudformation Command: Detect Stack Drift aws cloudformation detect-stack-drift --stack-name <stack-id> --profile <profile> Aws Cloudformation Command: Delete Stack aws cloudformation delete-stack --stack-name <stack-name> --profile <profile>