subcategory |
---|
Unity Catalog |
-> Note This data source can only be used with a workspace-level provider!
-> 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_catalog ids, that were created by Terraform or manually, so that special handling could be applied.
Listing all catalogs:
data "databricks_catalogs" "all" {}
output "all_catalogs" {
value = data.databricks_catalogs.all
}
This data source exports the following attributes:
ids
- set of databricks_catalog names
The following resources are used in the same context:
- databricks_schema to manage schemas within Unity Catalog.
- databricks_catalog to manage catalogs within Unity Catalog.