Waypoint applications and their installed add-ons use infrastructure created by Terraform in a Terraform Cloud workspace. Platform engineers and application developers can destroy these resources directly within HCP Waypoint. Uninstalling an add-on from an application and destroying an application in HCP Waypoint also destroys the associated infrastructure in Terraform Cloud.
In this tutorial, you will learn how to uninstall a Waypoint add-on and destroy an application.
Navigate to the Installed add-ons page for your Waypoint application and click on the Uninstall button from the 3 dots menu. A confirmation dialog will appear. Type
UNINSTALL in the field and click Uninstall.
You will be redirected back to the Installed add-ons page and see a message informing you that the uninstallation was successful.
Navigate to the Applications page and click on the application you want to destroy.
Click on Settings from the left navigation menu.
Click on the Manage button and then the Destroy application button. A confirmation dialog will appear. Type
DESTROY in the field and click Destroy.
HCP Waypoint will redirect you back to the Applications page and display a message informing you that the destruction was successful.
Navigate to the Route 53 hosted zone page in AWS and click on the zone with your domain name. On the details page, click on the Delete zone button at the top, type
delete in the dialog's field, and click the Delete button.
In this tutorial, you learned how to uninstall a Waypoint add-on and how to destroy an application so that the underlying infrastructure is also destroyed.
Check out the following resources to learn more about HCP Waypoint and the templates and add-ons features.