diff --git a/.github/actions/build/action.yaml b/.github/actions/build/action.yaml index e622441a..dc0c74fa 100644 --- a/.github/actions/build/action.yaml +++ b/.github/actions/build/action.yaml @@ -37,9 +37,9 @@ runs: run: | set -e go install golang.org/x/tools/cmd/goimports@latest -# go install github.com/hashicorp/terraform-plugin-codegen-framework/cmd/tfplugingen-framework@latest -# go install github.com/hashicorp/terraform-plugin-codegen-openapi/cmd/tfplugingen-openapi@latest -# go install github.com/hashicorp/terraform-plugin-docs/cmd/tfplugindocs@v0.24.0 + go install github.com/hashicorp/terraform-plugin-codegen-framework/cmd/tfplugingen-framework@latest + go install github.com/hashicorp/terraform-plugin-codegen-openapi/cmd/tfplugingen-openapi@latest + go install github.com/hashicorp/terraform-plugin-docs/cmd/tfplugindocs@v0.24.0 - name: Setup JAVA ${{ inputs.java-distribution }} ${{ inputs.go-version }} uses: actions/setup-java@v5 diff --git a/generator/main.go b/generator/main.go index f8ea606f..93ab1bad 100644 --- a/generator/main.go +++ b/generator/main.go @@ -7,6 +7,10 @@ import ( "log/slog" "os" + _ "github.com/hashicorp/terraform-plugin-codegen-framework/cmd/tfplugingen-framework" + _ "github.com/hashicorp/terraform-plugin-codegen-openapi/cmd/tfplugingen-openapi" + _ "github.com/hashicorp/terraform-plugin-docs/cmd/tfplugindocs" + "github.com/SladkyCitron/slogcolor" cc "github.com/ivanpirog/coloredcobra"