
OpenStack Cloud Computing Cookbook
By :

To delete a running Heat stack we will make a simple call as shown in this recipe.
Ensure that you are logged on to a correctly configured OpenStack client and can access the OpenStack environment. Refer to Chapter 2, The OpenStack Client for details of setting up your environment to use OpenStack.
In this section, we'll show how to delete a stack.
To delete a running stack named myStack
, issue the following command:
openstack stack delete myStack
You will be prompted to confirm this deletion, as shown here. Type y
to continue destroying the stack:
You can check on the status of the deletion by listing the created stacks:
openstack stack list
This will bring back an empty list if there is no stack to show or the following during deletion:
In very much the same way that we can launch a stack easily, deleting one is achieved by simply specifying which stack we want to destroy and using the stack delete
command.
If you prefer to destroy...
Change the font size
Change margin width
Change background colour