- Added databricks_service_principal resource.
Behavior changes
- Removed deprecated
library_jar
,library_egg
,library_whl
,library_pypi
,library_cran
, andlibrary_maven
fromdatabricks_cluster
anddatabricks_job
in favor of more API-transparent library configuration block. - Removed deprecated
notebook_path
andnotebook_base_parameters
fromdatabricks_job
in favor of notebook_task configuration block. - Removed deprecated
jar_uri
,jar_main_class_name
, andjar_parameters
fromdatabricks_job
in favor of spark_jar_task configuration block. - Removed deprecated
python_file
andpython_parameters
fromdatabricks_job
in favor of spark_python_task configuration block. - Removed deprecated
spark_submit_parameters
fromdatabricks_job
in favor of spark_submit_task configuration block. - Removed deprecated
databricks_scim_user
resource in favor of databricks_user. - Removed deprecated
databricks_scim_group
resource in favor of databricks_group. - Removed deprecated
databricks_default_user_roles
data source in favor of databricks_group data source. - Removed deprecated
basic_auth
andazure_auth
provider configuration blocks in favor of documented authentication methods.
- Fixed documentation issues.
- Added missing resource importers and test to cover it.
- Migrated build from TravisCI to GitHub Actions.
- Fixed custom
config_file
issue configuration handling (#420).
Deprecations
databricks_notebook
has gotoverwrite
,mkdirs
andformat
parameters, that always have to be set to certain values in order to follow expected behavior of terraform. These fields would be removed in 0.3 and always set to proper values.databricks_notebook
&databricks_dbfs_file
fieldcontent
is deprecated and would be renamed tocontent_base64
to further increase clarity.databricks_dbfs_file
has gotcontent
,content_b64_md5
,overwrite
,mkdirs
,validate_remote_file
fields deprecated and they will be removed in the next version, where critical code path will be shared withdatabricks_notebook
.network_error_messages
andverify_workspace_runnning
fromdatabricks_mws_workspaces
is deprecated and going to be removed in 0.3.error_messages
fromdatabricks_mws_networks
are deprecated and would be removed in 0.3.ebs_volume_type
andazure_disk_volume_type
fromdatabricks_instance_pool
is going to be moved todisk_type
sub-block in 0.3, which means you'll slightly have to modify configuration while migrating to 0.3. Computed fielddefault_tags
is going to be removed from resource. This is done to further increase maintainability of provider in the future.
Updated dependency versions:
- github.com/aws/aws-sdk-go 35.36
- github.com/hashicorp/go-retryablehttp 0.6.8
- github.com/Azure/go-autorest/autorest 0.11.12
Behavior changes
min_idle_instances
fordatabricks_instance_pool
is now optional.skip_validation
fordatabricks_instance_profile
is going to be removed in 0.3.
- Added databricks_workspace_conf resource.
- Added databricks_mws_log_delivery resource for billable usage & audit logs consumption.
- Added databricks_node_type data source for simpler selection of node types across AWS & Azure.
- Added Azure Key Vault support for
databricks_secret_scope
for Azure CLI authenticated users. - Added is_pinned support for
databricks_cluster
resource. - Fixed restarting cluster on changes in cluster configuration aren't related to the cluster configuration (issue #379)
- Fixed issue #383 by cleaning up clusters that fail to start.
- Fixed issue #382 by ignoring any incoming changes to deployment name of
databricks_mws_workspaces
, as well as propagating the right error messages. - Internal: API for retrieval of the cluster events.
- Increased code coverage to 71%.
Updated dependency versions:
- github.com/Azure/go-autorest/autorest v0.11.9
- github.com/Azure/go-autorest/autorest/adal v0.9.5
- github.com/Azure/go-autorest/autorest/azure/auth v0.5.3
- github.com/Azure/go-autorest/autorest/azure/cli v0.4.2
- gopkg.in/ini.v1 1.62.0
Deprecations
network_error_messages
fromdatabricks_mws_workspaces
is deprecated and going to be removed in 0.3
- Small fixes
- Added support for customer managed keys for Accounts API.
- Added
databricks_user
resource. - Added
databricks_user_instance_profile
resource. - Added
databricks_group
data source.
Updated dependency versions:
- github.com/Azure/go-autorest/autorest v0.11.6
- github.com/Azure/go-autorest/autorest/adal v0.9.4
- github.com/Azure/go-autorest/autorest/azure/auth v0.5.2
- github.com/Azure/go-autorest/autorest/azure/cli v0.4.1
- gopkg.in/ini.v1 v1.61.0
Deprecations
databricks_scim_user
is no longer receiving fixes and will be removed in0.3
, please rewrite using thedatabricks_user
resource, which has more consistent semantics withdatabricks_group
and works better with identity provider SCIM sync.databricks_scim_group
is no longer receiving fixes and will be removed in0.3
. Please rewrite using thedatabricks_group
resource.databricks_default_user_roles
is no longer receiving fixes and will be removed in0.3
, please rewrite usingdatabricks_user
&databricks_group
resources.
Behavior changes
- State changes to legacy
spark.databricks.delta.preview.enabled
config option are now ignored bydatabricks_job
&databricks_cluster
- Libraries, which are installed on all clusters and are not part of cluster resource definition, won't be waited for INSTALLED status
- Fixed "Secret scope ACL is MANAGE for all users by default" (issue 322). If you were relying on setting
MANAGE
permission to all users by default, you need to addinitial_manage_principal = "users"
to yourresource "databricks_secret_scope"
declaration.
- Added support for local disk encryption
- Added more reliable indication about Azure environment and fixed azure auth issue for Terraform 0.13
- Updated databricks_aws_crossaccount_policy to latest rules
- Fixed missing importers for databricks_scim_* resources
- Updated Terraform Plugin SDK to latest version along with transitive dependencies.
- Added support disclaimers
- Increased code coverage to 65%
- Added Azure CLI authentication to bridge the gap of local development workflows and let more people use the provider.
- All authentication is completely lazy-initialized, which makes it provider overall more stable.
- Significantly increased unit test coverage, which runs before every merge of a pull request.
- Introduced constantly running integration test suite environments: azsp, azcli & awsmt
- Numerous stability improvements for clusters, mounts, libraries, notebooks, files, authentication and TLS connectivity.
- Added ability to mount storage without explicitly defining a cluster, though it will still launch auto-terminating
terraform-mount
cluster to perform the mount. databricks_cluster
&databricks_job
now share significant portion of configuration wiring code, therefore increasing the stability of codebase.- Added support for Terraform 0.13 local builds for those who develop or cannot wait for next release.
- Added AWS IAM Policy data helpers to simplify new deployments.
- Migrated all documentation to Terraform Registry format, therefore having a single always-accurate place for end-user guides.
- Internally, codebase has been split into multiple packages, which should make further contributions simpler.
Updated dependency versions:
- github.com/Azure/go-autorest/autorest v0.11.4
- github.com/Azure/go-autorest/autorest/adal v0.9.2
- github.com/Azure/go-autorest/autorest/azure/auth v0.5.1
- github.com/aws/aws-sdk-go v1.34.13
- gopkg.in/ini.v1 v1.60.2
Deprecations
library_*
is no longer receiving fixes and will be removed in0.3
, please rewrite cluster & job resources to uselibrary
configuration block.basic_auth
provider block is no longer receiving fixesand will be removed in0.3
, please useusername
andpassword
optionsazure_auth
provider block is no longer receiving fixesand will be removed in0.3
, please useazure_*
options
Behavior changes
- Previously, mounts code paths were different functions. This release unifies them to be a single testable codebase with different configuration options & re-use of the critical code paths. For maintainability reasons, there's no longer check performed on container & storage account names, but rather on high-level mount source uri.