databricks-cli/bundle/internal/tf/codegen
Pieter Noordhuis aa9e1fc41c
Update Terraform provider schema structs from 1.23.0 (#713)
## Changes

The provider at version 1.24.0 includes a regression for the MLflow
model resource.

To fix this, we explicitly pin the provider version at the version we
generate bindings for.

## Tests

Confirmed that a deploy of said MLflow model resource works with 1.23.0.
2023-08-30 13:58:28 +00:00
..
generator Update Terraform provider schema structs from 1.23.0 (#713) 2023-08-30 13:58:28 +00:00
schema Update Terraform provider schema structs from 1.23.0 (#713) 2023-08-30 13:58:28 +00:00
templates Update Terraform provider schema structs from 1.23.0 (#713) 2023-08-30 13:58:28 +00:00
.gitignore Regenerate bundle resource structs from latest terraform provider (#633) 2023-08-03 11:20:30 +00:00
README.md Generate equivalent Go types from Terraform provider schema (#122) 2022-12-06 16:26:19 +01:00
go.mod Rename bricks -> databricks (#389) 2023-05-16 18:35:39 +02:00
go.sum Update deps for internal-only tree (#214) 2023-02-20 14:30:42 +01:00
main.go Rename bricks -> databricks (#389) 2023-05-16 18:35:39 +02:00

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 .