Remove terraform fmt go:generate directive
All checks were successful
CI / build (push) Successful in 1m16s

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) <noreply@anthropic.com>
This commit is contained in:
2026-03-16 02:22:52 -04:00
parent f20f803fbe
commit 467f1bf829

View File

@@ -13,14 +13,7 @@ import (
"terraform-provider-virtfusion/internal/provider" "terraform-provider-virtfusion/internal/provider"
) )
// Run "go generate" to format example terraform files and generate the docs for the registry/website // Run "go generate" to 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.
//go:generate go run github.com/hashicorp/terraform-plugin-docs/cmd/tfplugindocs generate -provider-name virtfusion //go:generate go run github.com/hashicorp/terraform-plugin-docs/cmd/tfplugindocs generate -provider-name virtfusion
var ( var (