capabilities.work

Terminate Then Permanently Delete Cluster

A 3-step recipe with Databricks. We can help you get access.

Recipe · 3 steps

Terminate Then Permanently Delete Cluster

with Databricks · IT Infrastructure Management

Terminate, confirm, then permanently delete a cluster.

  1. Terminate the cluster. Termination is asynchronous, so a poll loop confirms the cluster has stopped before deletion.
  2. Read the cluster status and inspect the life cycle state. Loop back while the cluster is TERMINATING; continue once it is TERMINATED.
  3. Permanently delete the terminated cluster, removing its configuration entirely.
What you'll need to have ready
  • cluster_id: The cluster to terminate and permanently delete.
For your developer

Arazzo workflow databricks:terminate-and-delete-cluster, 3 operations: terminateCluster → getCluster → permanentDeleteCluster. Specs on APIs.io.