Skip to content

Commit

Permalink
Release v0.5.0 (#1130)
Browse files Browse the repository at this point in the history
  • Loading branch information
nfx authored Feb 18, 2022
1 parent 1345e03 commit 9830f3e
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 8 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ terraform {
required_providers {
databricks = {
source = "databrickslabs/databricks"
version = "0.4.9"
version = "0.5.0"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion docs/guides/aws-workspace.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ terraform {
required_providers {
databricks = {
source = "databrickslabs/databricks"
version = "0.4.9"
version = "0.5.0"
}
aws = {
source = "hashicorp/aws"
Expand Down
4 changes: 2 additions & 2 deletions docs/guides/experimental-exporter.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand Down
2 changes: 1 addition & 1 deletion docs/guides/unity-catalog.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ terraform {
required_providers {
databricks = {
source = "databrickslabs/databricks"
version = "0.4.9"
version = "0.5.0"
}
aws = {
source = "hashicorp/aws"
Expand Down
2 changes: 1 addition & 1 deletion docs/guides/workspace-management.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ terraform {
required_providers {
databricks = {
source = "databrickslabs/databricks"
version = "0.4.9"
version = "0.5.0"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ terraform {
required_providers {
databricks = {
source = "databrickslabs/databricks"
version = "0.4.9"
version = "0.5.0"
}
}
}
Expand Down
1 change: 0 additions & 1 deletion exporter/command_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

0 comments on commit 9830f3e

Please sign in to comment.