Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2025 09:26 AM
You need to tell Terraform not to set the default namespace to hive_metastore, but instead to your UC catalog (or just leave it unset so Databricks auto-assigns UC).
In Terraform (Databricks provider), the relevant field is workspace.default_namespace:
resource "databricks_mws_workspaces" "this" {
# … your existing config …
workspace_name = "my-ws"
# Force default namespace to your UC catalog
workspace {
default_namespace = "my_catalog" # <-- replace with your actual UC catalog
}
}