For now we seen how to create a stack and how its works, Now will see how to delete the stack in details,
To delete a stack
- From the list of stacks in the AWS CloudFormation console, select the stack that you want to delete (it must be currently running).
- Choose Actions and then Delete Stack.
- Click Yes, Delete when prompted.
After stack deletion has begun, you cannot abort it. The stack proceeds to the DELETE_IN_PROGRESS state.
After the stack deletion is complete, the stack will be in the DELETE_COMPLETE state. Stacks in the DELETE_COMPLETE state are not displayed in the AWS CloudFormation console by default. To display deleted stacks, you must change the stack view setting as described in Viewing Deleted Stacks.
Viewing Deleted Stacks on the AWS CloudFormation Console
By default, the AWS CloudFormation console does not display stacks in the DELETE_COMPLETE state. To display information about deleted stacks, you must change the stack view.
To view deleted stacks
- In the AWS CloudFormation console, select Deleted from the Filter list.
Read More: AWS CloudFormation Tutorial