Skip to main content

Stop cluster

Stop a running cluster to save cost. Its settings are kept so it can be started again. Optionally wait until it has stopped.

Command in the Databricks toolkit · id ooa.databricks/terminate_cluster · 7 inputs (1 required), 1 output

Inputs​

InputTypeRequiredDefaultWhat it is
Workspace address (URL)StringNoWorkspace address, e.g. https://adb-1234567890123456.7.azuredatabricks.net or https://dbc-a1b2c3d4-e5f6.cloud.databricks.com.
Cluster IDStringYesCluster to stop: its name or id.
Access tokenCredentialNoDatabricks personal access token or OAuth token from the vault. Or leave it empty and choose a connection that signs in, which gets and renews the token.
WaitBooleanNofalseWait until the cluster has stopped before going on.
Timeout (seconds)NumberNo1200Stop waiting after this many seconds and fail with WAIT_TIMEOUT.
Client IDStringNoApplication (client) id of a service principal, to sign in with OAuth instead of a personal access token (G6).
Client secretCredentialNoThe service principal's OAuth secret from the vault (G6).

Outputs​

OutputTypeWhat it is
stateStringCluster state afterwards, e.g. TERMINATING or TERMINATED.