From 1fbcad12f603f3c688317f34b1d3d62f1e8ff7c0 Mon Sep 17 00:00:00 2001 From: Serge Smertin Date: Tue, 7 Jun 2022 15:54:41 +0200 Subject: [PATCH] Release v0.6.0 * Added `delta_sharing_*` support to `databricks_metastore` ([#1334](https://github.com/databrickslabs/terraform-provider-databricks/pull/1334)). * Added `databricks_git_credentials` pat discovery from common environment variables ([#1353](https://github.com/databrickslabs/terraform-provider-databricks/pull/1353)). * Added `databricks_permissions` for `databricks_pipeline` ([#1361](https://github.com/databrickslabs/terraform-provider-databricks/pull/1361)). * Added `network_id` to `network` block in `databricks_mws_workspaces` for GCP ([#1360](https://github.com/databrickslabs/terraform-provider-databricks/pull/1360)). * Added `azure_managed_identity` block to `databricks_storage_credential` and `databricks_metastore_data_access` resources ([#1354](https://github.com/databrickslabs/terraform-provider-databricks/pull/1354)). * Update docs regarding importing of `databricks_sql_*` resources ([#1349](https://github.com/databrickslabs/terraform-provider-databricks/pull/1349)). * Apply ownership for UC objects during creation ([#1338](https://github.com/databrickslabs/terraform-provider-databricks/pull/1338)). * Re-create purged cluster for `databricks_mount` for Google Storage ([#1333](https://github.com/databrickslabs/terraform-provider-databricks/pull/1333)). * Various documentation fixes ([#1350](https://github.com/databrickslabs/terraform-provider-databricks/pull/1350)). Updated dependency versions: * Bump google.golang.org/api from 0.80.0 to 0.81.0 * Bump gopkg.in/ini.v1 from 1.66.4 to 1.66.6 * Bump google.golang.org/api from 0.81.0 to 0.82.0 * Bump github.com/stretchr/testify from 1.7.1 to 1.7.2 * Bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.16.0 to 2.17.0 --- CHANGELOG.md | 20 ++++++++++++++++++++ README.md | 2 +- common/version.go | 2 +- docs/guides/aws-workspace.md | 8 ++++---- docs/index.md | 2 +- docs/resources/group.md | 8 ++++---- docs/resources/metastore_data_access.md | 2 +- docs/resources/mws_workspaces.md | 16 ++++++++-------- docs/resources/service_principal.md | 8 ++++---- docs/resources/storage_credential.md | 2 +- docs/resources/user.md | 8 ++++---- 11 files changed, 49 insertions(+), 29 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ae61d47b2d..97eb4ef587 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,25 @@ # Version changelog +## 0.6.0 + +* Added `delta_sharing_*` support to `databricks_metastore` ([#1334](https://github.com/databrickslabs/terraform-provider-databricks/pull/1334)). +* Added `databricks_git_credentials` pat discovery from common environment variables ([#1353](https://github.com/databrickslabs/terraform-provider-databricks/pull/1353)). +* Added `databricks_permissions` for `databricks_pipeline` ([#1361](https://github.com/databrickslabs/terraform-provider-databricks/pull/1361)). +* Added `network_id` to `network` block in `databricks_mws_workspaces` for GCP ([#1360](https://github.com/databrickslabs/terraform-provider-databricks/pull/1360)). +* Added `azure_managed_identity` block to `databricks_storage_credential` and `databricks_metastore_data_access` resources ([#1354](https://github.com/databrickslabs/terraform-provider-databricks/pull/1354)). +* Update docs regarding importing of `databricks_sql_*` resources ([#1349](https://github.com/databrickslabs/terraform-provider-databricks/pull/1349)). +* Apply ownership for UC objects during creation ([#1338](https://github.com/databrickslabs/terraform-provider-databricks/pull/1338)). +* Re-create purged cluster for `databricks_mount` for Google Storage ([#1333](https://github.com/databrickslabs/terraform-provider-databricks/pull/1333)). +* Various documentation fixes ([#1350](https://github.com/databrickslabs/terraform-provider-databricks/pull/1350)). + +Updated dependency versions: + +* Bump google.golang.org/api from 0.80.0 to 0.81.0 +* Bump gopkg.in/ini.v1 from 1.66.4 to 1.66.6 +* Bump google.golang.org/api from 0.81.0 to 0.82.0 +* Bump github.com/stretchr/testify from 1.7.1 to 1.7.2 +* Bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.16.0 to 2.17.0 + ## 0.5.9 * Added warning section for debug mode ([#1325](https://github.com/databrickslabs/terraform-provider-databricks/pull/1325)). diff --git a/README.md b/README.md index f77464e10a..5e64b448a0 100644 --- a/README.md +++ b/README.md @@ -82,7 +82,7 @@ terraform { required_providers { databricks = { source = "databrickslabs/databricks" - version = "0.5.9" + version = "0.6.0" } } } diff --git a/common/version.go b/common/version.go index 7325df867b..6316084488 100644 --- a/common/version.go +++ b/common/version.go @@ -3,7 +3,7 @@ package common import "context" var ( - version = "0.5.9" + version = "0.6.0" // ResourceName is resource name without databricks_ prefix ResourceName contextKey = 1 // Provider is the current instance of provider diff --git a/docs/guides/aws-workspace.md b/docs/guides/aws-workspace.md index 7b85e11466..96bd97033a 100644 --- a/docs/guides/aws-workspace.md +++ b/docs/guides/aws-workspace.md @@ -259,10 +259,10 @@ Code that creates workspaces and code that [manages workspaces](workspace-manage ```hcl resource "databricks_mws_workspaces" "this" { - provider = databricks.mws - account_id = var.databricks_account_id - aws_region = var.region - workspace_name = local.prefix + provider = databricks.mws + account_id = var.databricks_account_id + aws_region = var.region + workspace_name = local.prefix credentials_id = databricks_mws_credentials.this.credentials_id storage_configuration_id = databricks_mws_storage_configurations.this.storage_configuration_id diff --git a/docs/index.md b/docs/index.md index 6e1e761d56..4f4e04c044 100644 --- a/docs/index.md +++ b/docs/index.md @@ -342,7 +342,7 @@ terraform { required_providers { databricks = { source = "databrickslabs/databricks" - version = "0.5.9" + version = "0.6.0" } } } diff --git a/docs/resources/group.md b/docs/resources/group.md index 4c751f3b17..62b8bbb22b 100644 --- a/docs/resources/group.md +++ b/docs/resources/group.md @@ -48,11 +48,11 @@ Creating group in AWS Databricks account: ```hcl // initialize provider at account-level provider "databricks" { - alias = "mws" - host = "https://accounts.cloud.databricks.com" + alias = "mws" + host = "https://accounts.cloud.databricks.com" account_id = "00000000-0000-0000-0000-000000000000" - username = var.databricks_account_username - password = var.databricks_account_password + username = var.databricks_account_username + password = var.databricks_account_password } resource "databricks_group" "this" { diff --git a/docs/resources/metastore_data_access.md b/docs/resources/metastore_data_access.md index 178e4ecc96..8d40d32202 100644 --- a/docs/resources/metastore_data_access.md +++ b/docs/resources/metastore_data_access.md @@ -69,7 +69,7 @@ resource "databricks_metastore_data_access" "this" { metastore_id = databricks_metastore.this.id name = "mi_dac" azure_managed_identity { - access_connector_id = var.access_connector_id + access_connector_id = var.access_connector_id } is_default = true } diff --git a/docs/resources/mws_workspaces.md b/docs/resources/mws_workspaces.md index 0ddfeed590..70fccd06e6 100644 --- a/docs/resources/mws_workspaces.md +++ b/docs/resources/mws_workspaces.md @@ -65,10 +65,10 @@ resource "databricks_mws_networks" "this" { // create workspace in given VPC with DBFS on root bucket resource "databricks_mws_workspaces" "this" { - provider = databricks.mws - account_id = var.databricks_account_id - workspace_name = var.prefix - aws_region = var.region + provider = databricks.mws + account_id = var.databricks_account_id + workspace_name = var.prefix + aws_region = var.region credentials_id = databricks_mws_credentials.this.credentials_id storage_configuration_id = databricks_mws_storage_configurations.this.storage_configuration_id @@ -177,10 +177,10 @@ resource "databricks_mws_storage_configurations" "this" { } resource "databricks_mws_workspaces" "this" { - provider = databricks.mws - account_id = var.databricks_account_id - workspace_name = local.prefix - aws_region = "us-east-1" + provider = databricks.mws + account_id = var.databricks_account_id + workspace_name = local.prefix + aws_region = "us-east-1" credentials_id = databricks_mws_credentials.this.credentials_id storage_configuration_id = databricks_mws_storage_configurations.this.storage_configuration_id diff --git a/docs/resources/service_principal.md b/docs/resources/service_principal.md index 65d37add57..e22653df22 100644 --- a/docs/resources/service_principal.md +++ b/docs/resources/service_principal.md @@ -48,11 +48,11 @@ Creating service principal in AWS Databricks account: ```hcl // initialize provider at account-level provider "databricks" { - alias = "mws" - host = "https://accounts.cloud.databricks.com" + alias = "mws" + host = "https://accounts.cloud.databricks.com" account_id = "00000000-0000-0000-0000-000000000000" - username = var.databricks_account_username - password = var.databricks_account_password + username = var.databricks_account_username + password = var.databricks_account_password } resource "databricks_service_principal" "sp" { diff --git a/docs/resources/storage_credential.md b/docs/resources/storage_credential.md index 617be76cab..ef04f7896e 100644 --- a/docs/resources/storage_credential.md +++ b/docs/resources/storage_credential.md @@ -47,7 +47,7 @@ resource "databricks_storage_credential" "external_sp" { resource "databricks_storage_credential" "external_mi" { name = "mi_credential" azure_managed_identity { - access_connector_id = var.access_connector_id + access_connector_id = var.access_connector_id } comment = "Managed identity credential managed by TF" } diff --git a/docs/resources/user.md b/docs/resources/user.md index 12012b6a02..e34083102e 100644 --- a/docs/resources/user.md +++ b/docs/resources/user.md @@ -48,11 +48,11 @@ Creating user in AWS Databricks account: ```hcl // initialize provider at account-level provider "databricks" { - alias = "mws" - host = "https://accounts.cloud.databricks.com" + alias = "mws" + host = "https://accounts.cloud.databricks.com" account_id = "00000000-0000-0000-0000-000000000000" - username = var.databricks_account_username - password = var.databricks_account_password + username = var.databricks_account_username + password = var.databricks_account_password } resource "databricks_user" "account_user" {