subcategory |
---|
Unity Catalog |
-> 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_schema ids, that were created by Terraform or manually, so that special handling could be applied.
Listing all schemas in a sandbox databricks_catalog:
data "databricks_schemas" "sandbox" {
catalog_name = "sandbox"
}
output "all_sandbox_schemas" {
value = data.databricks_schemas.sandbox
}
catalog_name
- (Required) Name of databricks_catalog
This data source exports the following attributes:
ids
- set of databricks_schema full names:catalog
.schema
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.