![Forrest logo](/images/logo.png)
aws-cloudformation:tldr:e741d
This command is used to delete an AWS CloudFormation stack. Here is the breakdown of the command:
-
aws cloudformation delete-stack
is the AWS CLI command used to delete a CloudFormation stack. -
--stack-name ${stack-name}
specifies the stack name of the CloudFormation stack that you want to delete.${stack-name}
is a placeholder that needs to be replaced with the actual name of the stack you want to delete. -
--profile ${profile}
specifies the AWS CLI profile to use for the command.${profile}
is a placeholder that needs to be replaced with the actual profile name. AWS CLI profiles allow you to manage multiple sets of AWS security credentials and switch between them easily.
By running this command with the appropriate stack name and profile, you can effectively delete a CloudFormation stack from your AWS account. Make sure to exercise caution and confirm that you want to delete the stack as this action cannot be undone.