w0ut0 / terraform-provider-databricks-1

Databricks Terraform Provider

Home Page:https://databrickslabs.github.io/terraform-provider-databricks/#

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Databricks Terraform Provider

Build Status

Documentation | Contributing and Development Guidelines

To quickly install the binary please execute the following curl command in your shell.

curl https://raw.githubusercontent.com/databrickslabs/databricks-terraform/master/godownloader-databricks-provider.sh | bash -s -- -b $HOME/.terraform.d/plugins

Then create a small sample file, named main.tf with approximately following contents. Replace <your PAT token> with newly created PAT Token. It will create a simple cluster.

provider "databricks" {
  host = "https://abc-defg-024.cloud.databricks.com/"
  token = "<your PAT token>"
}

resource "databricks_cluster" "shared_autoscaling" {
  cluster_name            = "Shared Autoscaling"
  spark_version           = "6.6.x-scala2.11"
  node_type_id            = "i3.xlarge"
  autotermination_minutes = 20

  autoscale {
    min_workers = 1
    max_workers = 50
  }
}

Then run terraform init then terraform apply to apply the hcl code to your Databricks workspace. Please refer to the end-user documentation for detailed use of the provider. Also refer to these examples for more scenarios.

Project Support

Please note that all projects in the /databrickslabs github account are provided for your exploration only, and are not formally supported by Databricks with Service Level Agreements (SLAs). They are provided AS-IS and we do not make any guarantees of any kind. Please do not submit a support ticket relating to any issues arising from the use of these projects.

Any issues discovered through the use of this project should be filed as GitHub Issues on the Repo. They will be reviewed as time permits, but there are no formal SLAs for support.

About

Databricks Terraform Provider

https://databrickslabs.github.io/terraform-provider-databricks/#

License:Other


Languages

Language:Go 80.7%Language:CSS 7.9%Language:HTML 5.0%Language:JavaScript 3.3%Language:Shell 1.5%Language:HCL 0.7%Language:Smarty 0.3%Language:Makefile 0.3%Language:Dockerfile 0.3%