Skip to content

Latest commit

 

History

History
45 lines (30 loc) · 2.32 KB

sql_warehouses.md

File metadata and controls

45 lines (30 loc) · 2.32 KB
subcategory
Databricks SQL

databricks_sql_warehouses Data Source

-> Note If you have a fully automated setup with workspaces created by databricks_mws_workspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent default auth: cannot configure default credentials errors.

Retrieves a list of databricks_sql_endpoint ids, that were created by Terraform or manually.

Example Usage

Retrieve IDs for all SQL warehouses:

data "databricks_sql_warehouses" "all" {
}

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

data "databricks_sql_warehouses" "all_shared" {
  warehouse_name_contains = "shared"
}

Argument Reference

Attribute Reference

This data source exports the following attributes:

Related Resources

The following resources are often used in the same context: