From 467f1bf829786ad711fa2a9995dda0c0f749c6a5 Mon Sep 17 00:00:00 2001 From: Andrew Date: Mon, 16 Mar 2026 02:22:52 -0400 Subject: [PATCH] Remove terraform fmt go:generate directive MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The CI environment does not have the terraform binary installed. The terraform fmt directive is not required for builds — it was only a convenience for formatting example .tf files locally. Co-Authored-By: Claude Opus 4.6 (1M context) --- main.go | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/main.go b/main.go index df25b71..679f8b2 100644 --- a/main.go +++ b/main.go @@ -13,14 +13,7 @@ import ( "terraform-provider-virtfusion/internal/provider" ) -// Run "go generate" to format example terraform files and generate the docs for the registry/website - -// If you do not have terraform installed, you can remove the formatting command, but it is suggested to -// ensure the documentation is formatted properly. -//go:generate terraform fmt -recursive ./examples/ - -// Run the docs generation tool, check its repository for more information on how it works and how docs -// can be customized. +// Run "go generate" to generate the docs for the registry/website. //go:generate go run github.com/hashicorp/terraform-plugin-docs/cmd/tfplugindocs generate -provider-name virtfusion var (