databricks-cli/bundle/internal/tf/codegen
Pieter Noordhuis ff89c9d06f
Generate equivalent Go types from Terraform provider schema (#122)
It contains:
* `codegen` -- this turns the schema of the Databricks Terraform provider into Go types.
* `schema` -- the output of the above.
2022-12-06 16:26:19 +01:00
..
generator Generate equivalent Go types from Terraform provider schema (#122) 2022-12-06 16:26:19 +01:00
schema Generate equivalent Go types from Terraform provider schema (#122) 2022-12-06 16:26:19 +01:00
templates Generate equivalent Go types from Terraform provider schema (#122) 2022-12-06 16:26:19 +01:00
.gitignore Generate equivalent Go types from Terraform provider schema (#122) 2022-12-06 16:26:19 +01:00
README.md Generate equivalent Go types from Terraform provider schema (#122) 2022-12-06 16:26:19 +01:00
go.mod Generate equivalent Go types from Terraform provider schema (#122) 2022-12-06 16:26:19 +01:00
go.sum Generate equivalent Go types from Terraform provider schema (#122) 2022-12-06 16:26:19 +01:00
main.go Generate equivalent Go types from Terraform provider schema (#122) 2022-12-06 16:26:19 +01: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 .