mirror of https://github.com/databricks/cli.git
21d27885dc
## Changes Notable changes: * Adds support for `restart_window` for pipelines. * Fix drift for pipelines where `catalog` contains uppercase characters. * Better error message if single-node job clusters are incorrectly configured. See: * https://github.com/databricks/terraform-provider-databricks/releases/tag/v1.58.0 * https://github.com/databricks/terraform-provider-databricks/releases/tag/v1.57.0 * https://github.com/databricks/terraform-provider-databricks/releases/tag/v1.56.0 * https://github.com/databricks/terraform-provider-databricks/releases/tag/v1.55.0 ## Tests Integration tests pass. |
||
---|---|---|
.. | ||
generator | ||
schema | ||
templates | ||
.gitignore | ||
README.md | ||
go.mod | ||
go.sum | ||
main.go |
README.md
Use this tool to generate equivalent Go types from Terraform provider schema.
Usage
The entry point for this tool is .
.
It uses ./tmp
a temporary data directory and ../schema
as output directory.
It automatically installs the Terraform binary as well as the Databricks Terraform provider.
Run with:
go run .
How to regenerate Go structs from an updated terraform provider?
- Bump version in ./schema/version.go
- Delete
./tmp
if it exists - Run
go run .
- Run
gofmt -s -w ../schema