Skip to content

Commit

Permalink
Release v0.6.0 (databricks#1362)
Browse files Browse the repository at this point in the history
* Added `delta_sharing_*` support to `databricks_metastore` ([databricks#1334](databricks#1334)).
* Added `databricks_git_credentials` pat discovery from common environment variables ([databricks#1353](databricks#1353)).
* Added `databricks_permissions` for `databricks_pipeline` ([databricks#1361](databricks#1361)).
* Added `network_id` to `network` block in `databricks_mws_workspaces` for GCP ([databricks#1360](databricks#1360)).
* Added `azure_managed_identity` block to `databricks_storage_credential` and `databricks_metastore_data_access` resources ([databricks#1354](databricks#1354)).
* Update docs regarding importing of `databricks_sql_*` resources ([databricks#1349](databricks#1349)).
* Apply ownership for UC objects during creation ([databricks#1338](databricks#1338)).
* Re-create purged cluster for `databricks_mount` for Google Storage ([databricks#1333](databricks#1333)).
* Various documentation fixes ([databricks#1350](databricks#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
  • Loading branch information
nfx committed Jun 7, 2022
1 parent 92303db commit 411c6af
Show file tree
Hide file tree
Showing 11 changed files with 49 additions and 29 deletions.
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)).
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ terraform {
required_providers {
databricks = {
source = "databrickslabs/databricks"
version = "0.5.9"
version = "0.6.0"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion common/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions docs/guides/aws-workspace.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ terraform {
required_providers {
databricks = {
source = "databrickslabs/databricks"
version = "0.5.9"
version = "0.6.0"
}
}
}
Expand Down
8 changes: 4 additions & 4 deletions docs/resources/group.md
Original file line number Diff line number Diff line change
Expand Up @@ -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" {
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/metastore_data_access.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down
16 changes: 8 additions & 8 deletions docs/resources/mws_workspaces.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions docs/resources/service_principal.md
Original file line number Diff line number Diff line change
Expand Up @@ -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" {
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/storage_credential.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand Down
8 changes: 4 additions & 4 deletions docs/resources/user.md
Original file line number Diff line number Diff line change
Expand Up @@ -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" {
Expand Down

0 comments on commit 411c6af

Please sign in to comment.