From 9830f3ea4156fc0c223b47059b1fc31357b7cb16 Mon Sep 17 00:00:00 2001 From: Serge Smertin <259697+nfx@users.noreply.github.com> Date: Fri, 18 Feb 2022 17:33:46 +0100 Subject: [PATCH] Release v0.5.0 (#1130) --- CHANGELOG.md | 8 ++++++++ README.md | 2 +- docs/guides/aws-workspace.md | 2 +- docs/guides/experimental-exporter.md | 4 ++-- docs/guides/unity-catalog.md | 2 +- docs/guides/workspace-management.md | 2 +- docs/index.md | 2 +- exporter/command_test.go | 1 - 8 files changed, 15 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e11e83a1a1..b7f9e4d34c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,14 @@ * Added exporter functionality for `databricks_ip_access_list` and `databricks_workspace_conf` ([#1125](https://github.com/databrickslabs/terraform-provider-databricks/pull/1125)). * Added `graviton` selector for `databricks_node_type` and `databricks_spark_version` data sources ([#1127](https://github.com/databrickslabs/terraform-provider-databricks/pull/1127)). * Added interactive mode to resource exporter ([#1010](https://github.com/databrickslabs/terraform-provider-databricks/pull/1010)). +* Added preview support for `git_source` in `databricks_job` ([#1090](https://github.com/databrickslabs/terraform-provider-databricks/pull/1090)). +* Multiple other fixes and documentation improvements. + +Updated dependency versions: + +* Bump github.com/golang-jwt/jwt/v4 from 4.2.0 to 4.3.0 +* Bump google.golang.org/api from 0.67.0 to 0.68.0 +* Bump gopkg.in/ini.v1 from 1.66.3 to 1.66.4 ## 0.4.9 diff --git a/README.md b/README.md index 45b4e788ff..9a4821ebe4 100644 --- a/README.md +++ b/README.md @@ -79,7 +79,7 @@ terraform { required_providers { databricks = { source = "databrickslabs/databricks" - version = "0.4.9" + version = "0.5.0" } } } diff --git a/docs/guides/aws-workspace.md b/docs/guides/aws-workspace.md index 8c260164a8..87ba26cd38 100644 --- a/docs/guides/aws-workspace.md +++ b/docs/guides/aws-workspace.md @@ -54,7 +54,7 @@ terraform { required_providers { databricks = { source = "databrickslabs/databricks" - version = "0.4.9" + version = "0.5.0" } aws = { source = "hashicorp/aws" diff --git a/docs/guides/experimental-exporter.md b/docs/guides/experimental-exporter.md index 1420b2b466..eb37f89408 100644 --- a/docs/guides/experimental-exporter.md +++ b/docs/guides/experimental-exporter.md @@ -20,12 +20,11 @@ Exporter can also be used in a non-interactive mode: ```bash export DATABRICKS_HOST=... export DATABRICKS_TOKEN=... -./terraform-provider-databricks exporter \ +./terraform-provider-databricks exporter -skip-interactive \ -services=groups,secrets,access,compute,users,jobs,storage \ -listing=jobs,compute \ -last-active-days=90 \ -debug -sh import.sh ``` ## Argument Reference @@ -43,6 +42,7 @@ All arguments are optional and they tune what code is being generated. * `-mounts` - List DBFS mount points, which is a extremely slow operation and would not trigger unless explicitly specified. * `-generateProviderDeclaration` - flag that toggles generation of `databricks.tf` file with declaration of the Databricks Terraform provider that is necessary for Terraform versions since Terraform 0.13 (disabled by default). * `-prefix` - optional prefix that will be added to the name of all exported resources - that's useful for exporting resources multiple workspaces for merging into single one. +* `-skip-interactive` - optionally run in a non-interactive mode. ## Services diff --git a/docs/guides/unity-catalog.md b/docs/guides/unity-catalog.md index 86f7fdfe4c..1bcadcceca 100644 --- a/docs/guides/unity-catalog.md +++ b/docs/guides/unity-catalog.md @@ -38,7 +38,7 @@ terraform { required_providers { databricks = { source = "databrickslabs/databricks" - version = "0.4.9" + version = "0.5.0" } aws = { source = "hashicorp/aws" diff --git a/docs/guides/workspace-management.md b/docs/guides/workspace-management.md index f2f45ff605..8e6101e804 100644 --- a/docs/guides/workspace-management.md +++ b/docs/guides/workspace-management.md @@ -11,7 +11,7 @@ terraform { required_providers { databricks = { source = "databrickslabs/databricks" - version = "0.4.9" + version = "0.5.0" } } } diff --git a/docs/index.md b/docs/index.md index e906f5755e..fc8a2e905e 100644 --- a/docs/index.md +++ b/docs/index.md @@ -338,7 +338,7 @@ terraform { required_providers { databricks = { source = "databrickslabs/databricks" - version = "0.4.9" + version = "0.5.0" } } } diff --git a/exporter/command_test.go b/exporter/command_test.go index d5cee37d84..3ce5a4f7f7 100644 --- a/exporter/command_test.go +++ b/exporter/command_test.go @@ -38,7 +38,6 @@ func TestInteractivePrompts(t *testing.T) { }, } ic.interactivePrompts() - assert.Equal(t, "a,mounts", ic.listing) assert.Equal(t, "y", ic.match) assert.True(t, ic.mounts) }