Skip to content

Files

45 lines (30 loc) · 1.98 KB
·

sql_warehouses.md

File metadata and controls

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

databricks_sql_warehouses Data Source

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

-> This data source can only be used with a workspace-level provider!

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: