databricks-cli/bundle/internal/tf/codegen
shreyas-goenka ce9c9148c9
Regenerate bundle resource structs from latest terraform provider (#633)
## Changes
This PR:
1. Regenerates the terraform provider structs based off the latest
terraform provider version: 1.22.0
2. Adds a debug launch configuration for regenerating the schema

## Tests
Existing unit tests
2023-08-03 11:20:30 +00: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 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 .