Skip to content

Resetting Databricks Service Account

Use this guide when resetting the Databricks Admin Account password associated with DataForge services, or when switching the admin account Terraform uses to manage Databricks workspaces.

Databricks has two login types: workspace logins and the Accounts console. The steps below cover changes to the Accounts console.

Resetting Only the Databricks Account Admin Password

The password can be reset at any time from the Databricks admin account console. The Terraform variable databricksAccountPassword must also be updated to avoid failures on the next Terraform run. Access to the account email is required for the reset link.

  1. Log in to Databricks Admin Account Console with the admin account that needs the password reset.
  2. Navigate to User Management page and click the name of the account.
  3. Select reset password and complete Reset Password process from Databricks email sent to the account email address.
  4. (Must be completed for every Terraform workspace) Open Terraform, navigate to the workspace and open the Variables tab.
  5. (Must be completed for every Terraform workspace) Search for "databricksAccountPassword" variable, click the triple dot menu to the right of the variable and use the Edit option to enter the new password.
  6. Save the variable.

If the Terraform variable is not updated after a password reset, the next Terraform run will fail during the Merge phase with a connection error. Follow steps 4–6 to resolve.

Changing Databricks Admin User Used with DataForge Services

The Databricks Account Admin associated with DataForge can be changed by activating a new account as an Account Admin and updating Terraform variables. Do not deactivate the previous account until Terraform has been run successfully in all environments.

  1. Log in to Databricks Admin Account Console with an Admin account.
  2. Navigate to User Management page and click the name of the account you want to make a new Account Admin. If the account does not already exist use the "Add user" option and be sure to complete verification by setting up a password and logging in to confirm.
  3. Click on the Roles tab at the top of the user page.
  4. Turn the toggle on for the Account admin role.
  5. (Must be completed for every Terraform workspace) Open Terraform, navigate to the workspace and open the Variables tab.
  6. (Must be completed for every Terraform workspace) Search for "databricksAccountPassword" variable, click the triple dot menu to the right of the variable and use the Edit option to enter the password for the new account. Save the variable.
  7. (Must be completed for every Terraform workspace) Search for "databricksAccountUser" variable, click the triple dot menu to the right of the variable and use the Edit option to enter the email address for the new account. Save the variable.

If the old account is removed before Terraform variables are updated, Terraform runs will fail. Follow steps 5–7 to resolve.