Databricks CLI
Go to file
Pieter Noordhuis 35243db33c
Automatically install Terraform if needed (#141)
Users can opt out and use the system-installed version with the
following configuration:

```
bundle:
  terraform:
    exec_path: terraform
```

This will find the binary in $PATH and replace it with the found value.

If this is not set, the initialize phase will install Terraform in the
bundle's cache directory.
2022-12-15 17:30:33 +01:00
.github Run Go formatting with 1.19 (#137) 2022-12-14 15:59:47 +01:00
.vscode Scope snippets to Go (#51) 2022-09-13 17:58:59 +02:00
bundle Automatically install Terraform if needed (#141) 2022-12-15 17:30:33 +01:00
cmd Add `bricks bundle run` command (#134) 2022-12-15 15:12:47 +01:00
experimental/github Make tests pass (#40) 2022-09-07 20:08:42 +02:00
folders Don't depend on working directory in folders.FindDirWithLeaf (#54) 2022-09-14 15:08:55 +02:00
git Run Go formatting with 1.19 (#137) 2022-12-14 15:59:47 +01:00
internal Use filer.Filer in bundle/deployer/locker (#136) 2022-12-15 17:16:07 +01:00
libs/filer Use filer.Filer in bundle/deployer/locker (#136) 2022-12-15 17:16:07 +01:00
project Use Databricks Go SDK v0.1.0 (#110) 2022-12-01 12:17:36 +01:00
python Use Databricks Go SDK v0.1.0 (#110) 2022-12-01 12:17:36 +01:00
retries Experimental sync command 2022-07-07 20:56:59 +02:00
sandbox updated dependencies 2022-05-14 19:56:09 +02:00
terraform Ensure Go code is formatted (#37) 2022-09-07 15:15:23 +02:00
.gitignore Implement Terraform state synchronization and deploy (#98) 2022-12-06 00:40:45 +01:00
.goreleaser.yaml Build 32 bit Windows (#47) 2022-09-09 10:31:41 +02:00
Makefile updated dependencies 2022-05-14 19:56:09 +02:00
README.md Update README.md 2022-05-16 13:31:47 +02:00
go.mod Bump github.com/databricks/databricks-sdk-go from 0.1.0 to 0.1.1 (#121) 2022-12-14 11:21:44 +01:00
go.sum Bump github.com/databricks/databricks-sdk-go from 0.1.0 to 0.1.1 (#121) 2022-12-14 11:21:44 +01:00
main.go Implement Terraform state synchronization and deploy (#98) 2022-12-06 00:40:45 +01:00

README.md

Bricks CLI 🧱 build

Where's "data"? Secured by the unity catalog. Projects build lifecycle is secured by bricks 🧱

This is an early PoC at this stage. make build (or download the latest from releases page).

Reuses authentication from Databricks CLI. And terraform provider. See details here: https://registry.terraform.io/providers/databrickslabs/databricks/latest/docs#environment-variables

Supports:

  • Databricks CLI
  • Databricks CLI Profiles
  • Azure CLI Auth
  • Azure MSI Auth
  • Azure SPN Auth
  • Google OIDC Auth
  • Direct DATABRICKS_HOST, DATABRICKS_TOKEN or DATABRICKS_USERNAME + DATABRICKS_PASSWORD variables.

What works:

  • ./bricks fs ls /
  • ./bricks test
  • ./bricks launch test.py

What doesn't work:

  • Everything else.

This project reuses some code from Databricks Terraform Provider