Remove terraform fmt go:generate directive
All checks were successful
CI / build (push) Successful in 1m16s
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:
9
main.go
9
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 (
|
||||
|
||||
Reference in New Issue
Block a user