Skip to content

Latest commit

 

History

History
41 lines (27 loc) · 1.35 KB

File metadata and controls

41 lines (27 loc) · 1.35 KB
subcategory Unity Catalog

databricks_schemas Data Source

Retrieves a list of databricks_schema 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 schemas in a sandbox databricks_catalog:

data "databricks_schemas" "sandbox" {
  catalog_name = "sandbox"
}

output "all_sandbox_schemas" {
  value = data.databricks_schemas.sandbox
}

Argument Reference

  • catalog_name - (Required) Name of databricks_catalog
  • 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:

Related Resources

The following resources are used in the same context: