Skip to content

Commit e0dc83b

Browse files
committed
Release 0.3.0
1 parent b2028c0 commit e0dc83b

File tree

4 files changed

+13
-24
lines changed

4 files changed

+13
-24
lines changed

CONTRIBUTING.md

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,14 @@ Contributing to Databricks Terraform Provider
1717

1818
We happily welcome contributions to databricks-terraform. We use GitHub Issues to track community reported issues and GitHub Pull Requests for accepting changes.
1919

20+
## Installing for Terraform 0.12
21+
22+
If you use Terraform 0.12, please execute the following curl command in your shell:
23+
24+
```bash
25+
curl https://raw.githubusercontent.com/databrickslabs/databricks-terraform/master/godownloader-databricks-provider.sh | bash -s -- -b $HOME/.terraform.d/plugins
26+
```
27+
2028
## Installing from source
2129

2230
The following command (tested on Ubuntu 20.04) will install `make`, `golang`, `git` with all of the dependent packages as well as Databricks Terrafrom provider from sources. Required version of GoLang is at least 1.13. Required version of terraform is at least 0.12.
@@ -29,19 +37,6 @@ cd terraform-provider-databricks
2937
make install
3038
```
3139

32-
Now your plugin for the Databricks Terraform provider is installed correctly. If you have Terraform 0.13, you'd need to paste configuration that might look like the following one into your `main.tf`:
33-
34-
```hcl
35-
terraform {
36-
required_providers {
37-
databricks = {
38-
source = "databrickslabs/databricks"
39-
version = "0.2.3-22-gd91b475"
40-
}
41-
}
42-
}
43-
```
44-
4540
Most likely, `terraform init -upgrade -verify-plugins=false -lock=false` would be a very great command to use.
4641

4742
## Developing provider

README.md

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -52,26 +52,20 @@
5252

5353
[![build](https://github.com/databrickslabs/terraform-provider-databricks/workflows/build/badge.svg?branch=master)](https://github.com/databrickslabs/terraform-provider-databricks/actions?query=workflow%3Abuild+branch%3Amaster) [![codecov](https://codecov.io/gh/databrickslabs/terraform-provider-databricks/branch/master/graph/badge.svg)](https://codecov.io/gh/databrickslabs/terraform-provider-databricks)
5454

55-
If you use Terraform 0.13, please refer to instructions specified at [registry page](https://registry.terraform.io/providers/databrickslabs/databricks/latest):
55+
If you use Terraform 0.13 or newer, please refer to instructions specified at [registry page](https://registry.terraform.io/providers/databrickslabs/databricks/latest). If you use older versions of Terraform or want to build it from sources, please refer to [contributing guidelines](CONTRIBUTING.md) page.
5656

5757
```hcl
5858
terraform {
5959
required_providers {
6060
databricks = {
6161
source = "databrickslabs/databricks"
62-
version = "0.2.9"
62+
version = "0.3.0"
6363
}
6464
}
6565
}
6666
```
6767

68-
If you use Terraform 0.12, please execute the following curl command in your shell:
69-
70-
```bash
71-
curl https://raw.githubusercontent.com/databrickslabs/databricks-terraform/master/godownloader-databricks-provider.sh | bash -s -- -b $HOME/.terraform.d/plugins
72-
```
73-
74-
Then create a small sample file, named `main.tf` with approximately following contents. Replace `<your PAT token>` with newly created [PAT Token](https://docs.databricks.com/dev-tools/api/latest/authentication.html). It will create [a simple cluster](https://databrickslabs.github.io/terraform-provider-databricks/resources/cluster/).
68+
Then create a small sample file, named `main.tf` with approximately following contents. Replace `<your PAT token>` with newly created [PAT Token](https://docs.databricks.com/dev-tools/api/latest/authentication.html).
7569

7670
```terraform
7771
provider "databricks" {

docs/guides/azure-workspace.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ output "databricks_host" {
6464

6565
## Provider configuration
6666

67-
In [the next step](workspace-management.md), please use the following configuration for the provider:
67+
In [the next step](workspace-management.md), please use the [special configurations for Azure](../index.md#special-configurations-for-azure):
6868

6969
```hcl
7070
provider "databricks" {

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ Alternatively, you can provide this value as an environment variable `DATABRICKS
166166

167167
## Special configurations for Azure
168168

169-
To work with Azure Databricks workspace, the provider must know its `id` (or construct it from `azure_subscription_id`, `azure_workspace_name` and `azure_workspace_name`). The provider works with [Azure CLI authentication](https://docs.microsoft.com/en-us/cli/azure/authenticate-azure-cli?view=azure-cli-latest) to facilitate local development workflows, though for automated scenarios a service principal auth is necessary (and specification of `azure_client_id`, `azure_client_secret` and `azure_tenant_id` parameters).
169+
To work with Azure Databricks workspace, the provider must know its `azure_workspace_resource_id` (or construct it from `azure_subscription_id`, `azure_resource_group` and `azure_workspace_name`). The provider works with [Azure CLI authentication](https://docs.microsoft.com/en-us/cli/azure/authenticate-azure-cli?view=azure-cli-latest) to facilitate local development workflows, though for automated scenarios a service principal auth is necessary (and specification of `azure_client_id`, `azure_client_secret` and `azure_tenant_id` parameters).
170170

171171
### Authenticating with Azure Service Principal
172172

0 commit comments

Comments
 (0)