Releases: databricks/terraform-provider-databricks
Releases · databricks/terraform-provider-databricks
v0.4.5
v0.4.4
- Added support for running provider in a debug mode from Visual Studio Code through
Debug Providerrun configuration in order to troubleshoot more complicated issues. - Allowed managing of libraries on
databricks_clusteroutside of Terraform state for resources without anylibraryconfiguration blocks. This should simplify PaaS-like CI/CD workflows (#1024). - Added experimental resources.
Behavior changes
- Whenever library is installed on
databricks_clusterwithout anylibraryconfiguration blocks, it won't be removed anymore.
v0.4.3
- Added support for
databricks_permissionsfordatabricks_mlflow_experimentanddatabricks_mlflow_model(#1013). - Added
Using XXX authexplanation to HTTP 403 errors, which should help troubleshooting misconfigured authentication or provider aliasing. Example error message now looks like: cannot create group: /2.0/preview/scim/v2/Groups is only accessible by admins. Using databricks-cli auth: host=https://XXX.cloud.databricks.com/, token=***REDACTED***, profile=demo. All sensitive configuration parameters (token,password, andazure_client_secret) are redacted and replaced with***REDACTED***(#821). - Improved documentation with regards to public subnets in AWS quick start (#1005).
- Added
databricks_mountcode genration for exporter tooling (#1006). - Increase dependency check frequency (#1007).
- Added experimental resources.
v0.4.2
- Added optional
auth_typeprovider conf to enforce specific auth type to be used in very rare cases, where a single Terraform state manages Databricks workspaces on more than one cloud andMore than one authorization method configurederror is a false positive. Valid values arepat,basic,azure-client-secret,azure-msi,azure-cli, anddatabricks-cli(#1000). - Added
DBCformat support fordatabricks_notebook(#989). - Fixed creating new
databricks_mws_workspaceswithtoken {}block (#994). - Added automated documentation formatting with
make fmt-docs, so that all HCL examples look consistent (#999). - Increased codebase unit test coverage to 91% to improve stability (#996, #992, #991, #990).
Updated dependency versions:
- Bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.10.0 to 2.10.1
v0.4.1
- Added
databricks_libraryresource to install library ondatabricks_cluster(#904). - Added
databricks_clustersdata resource to list all clusters in the workspace, which might be used to installdatabricks_libraryon all clusters (#955). - Fixed refresh of
libraryblocks on a stoppeddatabricks_cluster(#952). - Whenever a library fails to get installed on a running
databricks_cluster, we now automatically remove this library, so that the clean state of managed libraries is properly maintained. Without this fix users had to manually go to Clusters UI and remove library from a cluster, where it failed to install. Libraries add up to CREATE and UPDATE timeouts ofdatabricks_clusterresource. (#599). - Added
tokenblock todatabricks_mws_workspacesto avoid unnecessary provider aliasing (#957). - Fixed disabling
databricks_global_init_script(#958). - Fixed configuration drift issues with
aws_attributes,azure_attributes,gcp_attributes, andemail_notificationsconfiguration blocks indatabricks_cluster,databricks_job, anddatabricks_instance_poolresources (#981). - Improved Databricks CLI auth by eagerly resolving
host,username,password, andtokenfrom the specifiedprofile. Added explicit logging of auth parameters in debug logs (#965). - TLS timeouts, which may occur during Azure MSI auth, are no longer failing API requests and retried within a normal policy (#966).
debug_headersprovider conf is also logging theHostheader to help troubleshooting auth issues (#964).- Added new experimental resources and increased test coverage.
Updated dependency versions:
- Bump github.com/golang-jwt/jwt/v4 from 4.1.0 to 4.2.0
- Bump google.golang.org/api from 0.60.0 to 0.63.0
- Bump github.com/Azure/go-autorest/autorest from 0.11.22 to 0.11.23
- Bump github.com/Azure/go-autorest/autorest/azure/auth from 0.5.9 to 0.5.10
- Bump gopkg.in/ini.v1 from 1.66.0 to 1.66.2
- Bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.9.0 to 2.10.0
v0.4.0
0.4.0
- Added
databricks_mlflow_modelanddatabricks_mlflow_experimentresources (#931) - Added support for
repo_pathtodatabricks_permissionsresource (#875). - Added
external_idtodatabricks_useranddatabricks_group(#927). - Fixed
databricks_repocreation corner cases on MS Windows OS (#911). - Fixed configuration drift for
databricks_cluster.aws_attributes.zone_idwithauto, which resulted in unwanted cluster restarts (#937). - Added new experimental resources, increased test coverage, and automated integration testing infrastructure.
- Multiple documentation improvements and new guides.
Behavior changes
- Renamed
allow_sql_analytics_accesstodatabricks_sql_accessindatabricks_user,databricks_group, anddatabricks_service_principalresources. - Removed deprecated
azure_use_pat_for_spn,azure_use_pat_for_cli,azure_pat_token_duration_secondsprovider attributes. - Removed deprecated
azure_workspace_name,azure_resource_group,azure_subscription_idin favor of just usingazure_workspace_resource_id. - Renamed
DATABRICKS_AZURE_WORKSPACE_RESOURCE_IDenvironment variable toDATABRICKS_AZURE_RESOURCE_ID. DATABRICKS_AZURE_CLIENT_SECRETenvironment variable is no longer having any effect in favor of just usingARM_CLIENT_SECRET.DATABRICKS_AZURE_CLIENT_IDenvironment variable is no longer having any effect in favor of just usingARM_CLIENT_ID.DATABRICKS_AZURE_TENANT_IDenvironment variable is no longer having any effect in favor of just usingARM_TENANT_ID.
Updated dependency versions:
- Bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.7.1 to 2.9.0
- Bump github.com/Azure/go-autorest/autorest/adal from 0.9.16 to 0.9.17
- Bump github.com/golang-jwt/jwt/v4 from 4.0.0 to 4.1.0
- Bump github.com/zclconf/go-cty from 1.9.1 to 1.10.0
- Bump github.com/Azure/go-autorest/autorest from 0.11.21 to 0.11.22
v0.3.11
0.3.11
- Added
databricks_sql_global_configresource to provide global configuration for SQL Endpoints (#855) - Added
databricks_mountresource to mount arbitrary cloud storage (#497) - Improved implementation of
databricks_repoby creating the parent folder structure (#895) - Fixed
databricks_joberror related to randomized job IDs (#901) - Replace
databricks_groupon name change (#890) - Names of scopes in
databricks_secret_scopecan have/characters in them (#892)
Deprecations
databricks_aws_s3_mount,databricks_azure_adls_gen1_mount,databricks_azure_adls_gen2_mount, anddatabricks_azure_blob_mountare deprecated in favor ofdatabricks_mount.
Updated dependency versions:
- Bump google.golang.org/api from 0.59.0 to 0.60.0
v0.3.10
- Added
private_access_levelandallowed_vpc_endpoint_idstodatabricks_mws_private_access_settingsresource, which is also now updatable (#867). - Fixed missing diff skip for
skip_validationindatabricks_instance_profile(#860). - Added support for
pipeline_task(871) andpython_wheel_task(#872) todatabricks_job. - Improved enterprise HTTPS proxy support for creating workspaces in PrivateLink environments (#882).
- Added
hostnameattribute toodbc_paramsindatabricks_sql_endpoint(#868). - Improved documentation (#858, #870).
Updated dependency versions:
- Bumped google.golang.org/api from 0.58.0 to 0.59.0
v0.3.9
- Added initial support for multiple task orchestration in
databricks_job#853 - Fixed provider crash for new terraform states related to bug #813 in Terraform SDK v2.8.0 (#854)
- Re-added
skip_validationtodatabricks_instance_profileresource #762 - Removed direct dependency on
aws-sdk-go.
Updated dependency versions:
- Reverted github.com/hashicorp/terraform-plugin-sdk/v2 from 2.8.0 to 2.7.0
v0.3.8
- Added
databricks_reporesource to manage Databricks Repos (#771) - Added support for Azure MSI authentication (#743)
- Added support to create
databricks_useron the account level (#818) - Already deleted
databricks_tokendon't fail the apply (#808) - Default
terraform-mountclusters created for mounting fordatabricks_aws_s3_mount,databricks_azure_adls_gen1_mount,databricks_azure_adls_gen2_mount, anddatabricks_azure_blob_mounthave nowspark.scheduler.modeasFIFO(#828) - Fixed crash when using non-Azure authentication to mount Azure resources (#831)
- Fixed replacement of
instance_pool_idindatabricks_cluster, whendriver_instance_pool_idwas not explicitly specified (#824) - Ignorning diff customization for permissions resource, so that new workspace deployments won't fail without explicit dependency on a workspace resource
- Multiple documentation improvements
Deprecations
azure_workspace_name,azure_resource_group,azure_subscription_id, andazure_workspace_resource_idare deprecated and would be removed in v0.4.0. Please rewrite provider configuration withhost = data.azurerm_databricks_workspace.example.workspace_urlto achieve the same effect. Please check azurerm_databricks_workspace resource documentation for details.azure_use_pat_for_spn,azure_use_pat_for_cli, andazure_pat_token_duration_secondsare deprecated to fully switch to AAD token authentication in the near future.DATABRICKS_AZURE_CLIENT_SECRETenvironment variable is deprecated in favor of just usingARM_CLIENT_SECRET.DATABRICKS_AZURE_CLIENT_IDenvironment variable is deprecated in favor of just usingARM_CLIENT_ID.DATABRICKS_AZURE_TENANT_IDenvironment variable is deprecated in favor of just usingARM_TENANT_ID.
Updated dependency versions:
- Bump github.com/aws/aws-sdk-go from 1.40.19 to 1.40.54
- Bump github.com/Azure/go-autorest/autorest from 0.11.19 to 0.11.21
- Bump github.com/Azure/go-autorest/autorest/azure/cli from 0.4.2 to 0.4.3
- Bump github.com/Azure/go-autorest/autorest/adal from 0.9.14 to 0.9.16
- Bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.7.0 to 2.8.0
- Bump github.com/zclconf/go-cty from 1.9.0 to 1.9.1
- Bump golang.org/x/mod from 0.4.2 to 0.5.1
- Bump google.golang.org/api from 0.52.0 to 0.58.0
- Bump gopkg.in/ini.v1 from 1.62.0 to 1.63.2