Bug Fixes
-
Fix
databricks_library,databricks_share, anddatabricks_quality_monitorfailing to decode prior state withError decoding ... from prior state: missing expected {after upgrading from v1.113.0 to v1.114.0 (#5669). Reverts #5582.Note for users upgrading from v1.114.0: any state written by v1.114.0 for
databricks_library,databricks_share, ordatabricks_quality_monitorencodesprovider_configas a single object instead of a list, andterraform planagainst the upgraded provider will fail to decode it. Mitigate with a one-time edit of each affected resource instance in your state file: change theprovider_configvalue from the object form to either the list form or null.- If you set
provider_configexplicitly in HCL: change"provider_config": {"workspace_id": "X"}to"provider_config": [{"workspace_id": "X"}](wrap the existing object in a single-element list). - If you did NOT set
provider_configin HCL: change"provider_config": {"workspace_id": "X"}to"provider_config": null. This avoids a one-time replacement plan ondatabricks_library(where the block-level plan modifier forces replacement on any provider_config diff).
Users on v1.113.0 are unaffected — their state already matches the restored schema.
- If you set
-
Fix
databricks_service_principaldata source failing on account-level provider withcannot populate provider_config for service principal: failed to resolve workspace_id(#5664). The data source now supports theapifield and skips workspace-tracking when used at account level. -
Fix
databricks_service_principalsdata source failing on account-level provider with the samecannot populate provider_config for service principals: failed to resolve workspace_idregression (#5664). The data source now supports theapifield and skips workspace-tracking when used at account level. -
Fix
databricks_mws_workspacesanddatabricks_mws_credentialsdata sources failing on account-level provider withcannot populate provider_config for mws workspaces: failed to resolve workspace_id(#5672). These account-only data sources are now exempted from the post-Read workspace-tracking hook, andprovider_config(which had no effect on them) is now deprecated and will be removed in a future major release. -
Fix
databricks_disable_legacy_features_settingfailing on account-level provider withcannot populate provider_config for disable legacy features setting: failed to resolve workspace_id: ... Unable to load OAuth Config. This account-only setting is now exempted from the post-Read workspace-tracking hook, and the auto-injectedprovider_configblock is deprecated. The fix is applied at the generic-setting builder level (makeSettingResourceinsettings/generic_setting.go), so any futureaccountSetting-based resource inherits the opt-out automatically.