databricks_catalogs Data Source
October 29, 2025 ยท View on GitHub
Retrieves a list of databricks_catalog ids, that were created by Terraform or manually, so that special handling could be applied.
-> This data source can only be used with a workspace-level provider!
Example Usage
Listing all catalogs:
data "databricks_catalogs" "all" {}
output "all_catalogs" {
value = data.databricks_catalogs.all
}
Argument Reference
provider_config- (Optional) Configure the provider for management through account provider. This block consists of the following fields:workspace_id- (Required) Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
Attribute Reference
This data source exports the following attributes:
ids- set of databricks_catalog names
Related Resources
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.