Skip to main contentIBM Garage for Cloud


Use the Developer Environment to delete itself

Not only can the Cloud-Native Toolkit create the Developer Environment, the environment can also delete itself. The environment is installed using Terraform, which stores the state of the creation in the workspace folder. Terraform can use that state to delete what it installed.

Destroy a Developer Environment following these steps:

  • Run the following command to launch a Developer Tools container:

  • In the container, change to the workspace directory:

    cd workspace
  • In the container, run the Terraform tool with the destroy option:

    terraform destroy

This will remove the development cluster and all the services that were created previously.