Skip to content

Releases: databricks/terraform-provider-databricks

v1.45.0

23 May 12:50
v1.45.0
fe9747a
Compare
Choose a tag to compare

New Features and Improvements

  • Fix control run state failures for databricks_job resource (#3585).
  • Added support for popular column types for resource_sql_table (#3528).
  • Modify state upgrader to remove ebs_volume_iops set to zero (#3601).
  • Added databricks_enhanced_security_monitoring_workspace_setting resource for ESC (Enhanced Compliance and Security) settings (#3563).
  • Added databricks_automatic_cluster_update_workspace_setting resource (#3444).
  • Added databricks_compliance_security_profile_workspace_setting resource (#3564).
  • Added route optimized option to model serving terraform (#3572).
  • Rename lakehouse monitor to quality monitor (#3584).

Documentation Changes

  • Fix documentation for databricks_storage_credential and databricks_external_location data sources (#3588).

Exporter

  • Add support for databricks_mws_permission_assignment resource (#3562).
  • Don't list directories in the incremental mode (#3569).

Internal Changes

  • Added TestMwsAccServicePrincipalResourceOnAws to flaky tests (#3580).
  • Fix bug in collectionToMaps (#3581).
  • Make customizable error logs more readable (#3583).

Dependency updates

  • Bump github.com/databricks/databricks-sdk-go from 0.40.1 to 0.41.0 (#3604).
  • Bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.33.0 to 2.34.0 (#3594).

v1.44.0

15 May 09:22
v1.44.0
ff8f028
Compare
Choose a tag to compare

New Features and Improvements

  • Add owner support to databricks_sql_table (#3570).
  • Add databricks_catalog data source (#3573).
  • Add databricks_table data source (#3571).
  • Add databricks_mlflow_experiment data source (#2389).

Exporter

  • Fix rare race condition with variables map (#3568).

Internal Changes

Dependency updates:

  • Bump go SDK to 0.40.1 (#3574), featuring improvements in tracing and debuggability of failed requests.

v1.43.0

14 May 11:32
v1.43.0
2d1c8ce
Compare
Choose a tag to compare

1.43.0

New Features and Improvements

  • Added state upgrader to remove max_clusters_per_user and ebs volume attributes set to zero (#3551).
  • Robust retries for workspace get-status (#3550).
  • Updated data_aws_crossaccount_policy to format resource string with account and region (#3544).
  • Fixed Issue: The field node_type_id cannot be supplied when an instance pool ID is provided (#3549)

Documentation Changes

  • Fixed error message typo in mounts.go (#3552).
  • State the options for run_if (#3548).

Exporter

  • Don't emit all UC objects when handling dependencies (#3556).
  • Track removed objects during the Emit phase (#3554).
  • Optimize generation of databricks_group_member resource (#3559).
  • Included some UC objects into default listing (#3565)

Internal Changes

  • Jobs GoSDK schema migration (#3532).
  • Stabilize integration tests (#3542).

v1.42.0

03 May 12:19
v1.42.0
62da355
Compare
Choose a tag to compare

New Features and Improvements

  • Allow changes to display_name for databricks_service_principal (#3523).
  • Modify databricks_repo to support Git folders in the workspace (#3447).
  • Retry requests in the Databricks Go SDK until context timeout (#3537).
  • Set ForceSendFields for boolean/integer values explicitly set to false/0 (#3385).

Bug fixes

  • Added ConflictsWith to legacy tasks in databricks_job to avoid errors when job parameters are used (#3500).
  • Fixed spn secret permanent diff (#3525).
  • Introduced common.NoClientData helper function and use it in databricks_aws_crossaccount_policy data source to allow its use with workspace- or account-level providers (#3508).
  • Set id attribute of databricks_metastore data source (#3503).

Documentation Changes

  • Added documentation for compute options for tasks in databricks_job resource (#3504).
  • Added warning about depends_on order (#3489).
  • Fixed various doc typos (#3512).
  • Fixed databricks_current_metastore data source names in docs examples (#3515).
  • Improved Job documentation structure (#3511).
  • Removed confusing mention of cloud types for databricks_clusters and databricks_sql_warehouses data sources (#3518).

Exporter

  • Added UC support for DLT pipelines (#3494).
  • Ignored instance pools with the empty name (#3522).

Internal Changes

  • Added DATABRICKS_USER_AGENT_EXTRA (#3520).
  • Adjusted list of supported platforms in godownloader-databricks-provider.sh (#3527).
  • Switched to Go SDK for databricks_directory resource and data source (#3509).
  • Fixed codecov for repository (#3530).

Dependency updates:

  • Bump databricks-sdk-go to v0.40.0 (#3534).

v1.41.0

24 Apr 13:09
v1.41.0
f4a53dc
Compare
Choose a tag to compare

1.41.0

New Features and Improvements

  • Added resources for configuring Serverless network connectivity (#3402).
  • Data source databricks_current_metastore should not error out for non-UC workspaces (#3497).

Exporter

  • Adjust retry error on deadline exceeded (#3491).

Internal Changes

  • Added account workspace setting type (#3415).
  • Added test config (#3487).
  • Refactor CustomizeSchema for ResourceProvider to skip unfeasible customizations (#3481).
  • Bump golang.org/x/net from 0.22.0 to 0.23.0 (#3493).

v1.40.0

18 Apr 15:02
v1.40.0
ec030f2
Compare
Choose a tag to compare

New Features and Improvements

Documentation Changes

  • Use correct provider alias in AWS E2 provisioning guide (#3425).
  • Document pricing_tier of databricks_mws_workspaces resource (#3433).
  • Updated documentation for Delta Sharing resources; refactoring relevant resources & data sources (#3466).
  • Added description for new fields in databricks_lakehouse_monitor
  • Update about using Databricks-managed service principals in all clouds (#3482)

Exporter

  • Decrease a need for get-status calls for directories when listing workspace objects (#3470).
  • Don't emit permissions and grants if object is going to be ignored (#3417).
  • Don't generate references to ignored resources (#3418).
  • Generate resource data from the object status obtained during the listing operation (#3460).
  • Improve emitting of directories (#3462).
  • Skip listing of jobs deployed with DABs (#3445).

Internal Changes

  • Migrated databricks_cluster resource to Go SDK (#3376).
  • Used ClusterSpec in databricks_cluster resource (#3459).
  • Bump Go SDK to v0.38.0 (#3458).
  • Bump golang.org/x/mod from 0.16.0 to 0.17.0 (#3435).
  • Clean up integration tests and expose helper functions for identifying cloud (#3438).
  • Fix integration tests for databricks_entitlements (#3467).
  • Switch to use structs from Go SDK for databricks_recipient resource (#3400).
  • Make libraries in resource_job slice instead of set (#3398).
  • Fixed TestUcAccJobRunAsMutations
  • Ensure tests are only run in the selected environment (#3476)
  • Use fixture cluster for databricks_sql_permissions integration test (#3483)
  • Improve integration tests for databricks_model_serving (#3479)

v1.39.0

28 Mar 16:25
v1.39.0
ba6f4b3
Compare
Choose a tag to compare

New Features and Improvements

Documentation Changes

  • Clarify disable as user deletion (#3360).
  • Add MODEL to documentation about data_object_type in databricks_share resource (#3380).
  • Fix broken links in metastore-related docs (#3356).
  • Update documentation about databricks-managed service principals (#3350).
  • Fix code example for databricks_storage_credentials data source (#3327).
  • Fix storage credential doc guide (#3340).
  • Improve description of depends_on block (#3390).
  • Improve job library documentation (#3399).
  • [DOCS] change master to main & GH image raw links (#3358).
  • [DOC] Removing NOTEBOOK_FILE from databricks_share (#3353).
  • [MLOPS-717] Rename Amazon Bedrock (#3403).

Exporter

  • Don't generate resources with empty names (#3345).
  • Remove too aggressive omitting for volume_type attribute of databricks_volume resource (#3328).
  • Add an option for exporting secret values into terraform.tfvars (#3372).
  • Add support for generation of dependencies between resources (#3377).
  • Change listing behavior for metastore and storage credentials (#3367).
  • Modify grants for some UC objects to allow handling of other owners (#3357).

Internal Changes

  • Add integration test for ForEachTask (#3283).
  • Bump github.com/hashicorp/hcl/v2 from 2.20.0 to 2.20.1 (#3405).
  • Bump github.com/zclconf/go-cty from 1.14.3 to 1.14.4 (#3393).
  • Bump go-sdk version to 0.36.0 (#3391).
  • Bump go-sdk version to 0.37.0 (#3410).
  • Bump golang.org/x/mod from 0.15.0 to 0.16.0 (#3329).
  • Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 (#3368).
  • Disable Lakehouse Monitoring integration tests on GCP (#3355).
  • Increase default timeout for databricks_vector_search_endpoint (#3332).
  • Make StructToSchema work for recursive data types (#3302).
  • Port databricks_secret_scope, databricks_secret and databricks_secret_acl to Go SDK (#3373).
  • SCIM patch to remove resources must not contain a value field (#3374).
  • Update Aliases function for ResourceProvider to handle recursive structures more gracefully (#3338).
  • Update Go SDK to latest + Fix backwards incompatible change (#3333).
  • Update master to main in diff schema (#3331).
  • improve databricks_aws_crossaccount_policy data source (#3343).
  • lock metastore assignment test (#3386).
  • Added support for updating columns in databricks_sql_table resource (#3359).
  • Fix integration test for sql column update (#3384).

v1.38.0

04 Mar 14:02
v1.38.0
de6cc54
Compare
Choose a tag to compare

New Features and Improvements

  • Use workspace-level default for enable_serverless_compute if not specified in databricks_sql_global_config (#3279). Previously, this resource would disable serverless unless you set the deprecated enable_serverless_compute attribute to true. From this release, this resource will not modify enable_serverless_compute, leaving it as its default value (enabled) if unspecified.
  • Fixed webhook_notifications diff suppression for databricks_job (#3309).
  • Perform case-insensitive error message checking when using force in databricks_user (#3295).
  • Use stable IDs for settings resources (#3314).

Documentation Changes

  • Improved documentation for INTERNAL and INTERNAL_AND_EXTERNAL delta sharing scope in terraform (#3287).
  • Added user guide for new behaviours with UC by default (#3318).
  • Expanded the note about private link in the troubleshooting guide (#3319).
  • Document storage_location attribute of the databricks_registered_model (#3249).
  • Various documentation improvements (#3288).
  • Changed accounts_id to required (#3244).

Exporter

  • Improved support for Unity Catalog (#3281).
  • Added generation of import blocks for easier importing existing resources in Terraform 1.5+ (#3293).
  • Added support for databricks_file resource (#3301).

Internal Changes

  • Set Computed field to true for common.Resource account_id attribute (#3310).
  • Removed unnecessary alias from cluster resource (#3298).
  • Bump Go SDK (#3296).
  • Bump github.com/hashicorp/hcl/v2 from 2.19.1 to 2.20.0 (#3317).
  • Bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.32.0 to 2.33.0 (#3300).
  • Bump github.com/stretchr/testify from 1.8.4 to 1.9.0 (#3323).
  • Bump github.com/zclconf/go-cty from 1.14.2 to 1.14.3 (#3322).

v1.37.1

22 Feb 18:16
v1.37.1
87d905d
Compare
Choose a tag to compare

New Features and Improvements

  • Removed CustomizeDiff and Client Side Validation for databricks_grants (#3290).
  • Added terraform support for restrict ws admins setting (#3243).

Internal Changes

v1.37.0

21 Feb 09:38
v1.37.0
8a8aff5
Compare
Choose a tag to compare

1.37.0

New Features and Improvements

Documentation Changes

  • Fix images and add note on setting multiple authorizations for workspace setup (#3259).
  • Remove data_object_type=TABLE only restriction in databricks_share (#3108).
  • Remove legacy guides (#3282).
  • Update for_each_task docs. (#3271).

Exporter

  • Support for some Unity Catalog resources (#3242).
  • Rework handling of listings and interactive prompting (#3241).
  • UC exporter databricks storage credential feature (#3219).

Internal Changes

  • Add CustomDiffFunc for health in sql_endpoint resources (#3227).
  • Bump github.com/databricks/databricks-sdk-go 0.33.0 (#3275).
  • Suppress diff on whitespace change for resources that often use HERE-docs (#3251).