Retrieves a list of databricks_cluster ids, that were created by Terraform or manually, with or without databricks_cluster_policy.
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"
}
cluster_name_contains
- (Optional) Only return databricks_cluster ids that match the given name string.This data source exports the following attributes:
ids
- list of databricks_cluster idsThe following resources are used in the same context: