databricks_clusters Data Source

Retrieves a list of databricks_cluster ids, that were created by Terraform or manually, with or without databricks_cluster_policy.

Example Usage

Retrieve cluster IDs for all clusters:

data "databricks_clusters" "all" {
}

Retrieve cluster IDs for all clusters having "Shared" in the cluster name:

data "databricks_clusters" "all_shared" {
  cluster_name_contains = "shared"
}

Argument Reference

Attribute Reference

This data source exports the following attributes:

The following resources are used in the same context: