aws cloudformation
all
Model, provision, and manage AWS and third-party resources by treating infrastructure as code.
More info →Examples (7)
Create a stack from a template file
aws cloudformation create-stack --stack-name stack-name --region region --template-body file://path/to/file.yml --profile profileDelete a stack
aws cloudformation delete-stack --stack-name stack-name --profile profileList all stacks
aws cloudformation list-stacks --profile profileList all running stacks
aws cloudformation list-stacks --stack-status-filter CREATE_COMPLETE --profile profileCheck the status of a stack
aws cloudformation describe-stacks --stack-name stack-id --profile profileInitiate drift detection for a stack
aws cloudformation detect-stack-drift --stack-name stack-id --profile profileCheck the drift status output of a stack using `StackDriftDetectionId` from the previous command output
aws cloudformation describe-stack-resource-drifts --stack-name stack-drift-detection-id --profile profilemade by @shridhargupta | data from tldr-pages