Important Changes
-
Removed plan-time
workspace_idreachability validation for unified-provider
resources (#5887).workspace_idreachability and mismatch errors (e.g.workspace_id mismatch,
managing workspace-level resources requires a workspace_id) are now reported
when the resource is applied instead of duringterraform plan. Plans no longer
make workspace-resolution API calls for these checks. This fixes false-positive
plan failures for principals that can manage a resource but cannot call the
workspace/Meendpoint, and forprovider_config.workspace_idvalues that are
only known after apply (for example aworkspace_idsourced from another
resource that is created in the same run). For newly-created workspace-level
resources this removes plan-time workspace API calls entirely; existing
resources still refresh at plan (an unavoidable read), which validates the
workspace they already live in.
New Features and Improvements
- Add
databricks_recipientsdata source to list Delta Sharing recipient names. - Add
trace_locationtodatabricks_mlflow_experimentfor storing experiment traces in a Unity Catalog schema (#5869). The block is immutable (ForceNew);table_prefixis optional and, when omitted, server-defaulted, with the resolved value exposed on the read-onlyeffective_table_prefix.
Bug Fixes
- Fix updating a column comment on a
VIEWindatabricks_sql_table(#5855). The provider emittedALTER VIEW ... ALTER COLUMN ... COMMENT, which Databricks rejects with aPARSE_SYNTAX_ERROR, leaving the change stuck as a perpetual, un-appliable diff. Column comment changes on views are now applied in place viaCOMMENT ON COLUMN, matching how column comments on tables are updated. - Fix
databricks_access_control_rule_setdrift detection when allgrant_rulesare removed outside Terraform (#5589).
Internal Changes
-
A provider-level
workspace_idis now consistently validated when a
workspace-level resource acquires its client, regardless of whether the value
came from the resource'sprovider_configblock or the provider configuration
(#5887).Previously a workspace-level provider silently ignored a mismatched
provider-levelworkspace_idwhen a resource omittedprovider_config. It now
surfaces aworkspace_id mismatcherror at apply, matching the behavior when
provider_config.workspace_idis set explicitly. For the common case where the
provider-levelworkspace_idmatches the configured workspace (including when
it is auto-resolved from host metadata) there is no change.