You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there @TheNilesh 👋🏻 , thanks for filing the report and sorry you're running into this.
I don't believe there is a difference between how tfplugindocs and tfplugingen-framework are implemented that should change this. I'm assuming your go.mod contains the top level modules, like this:
Are you still able to run go generate ./... successfully? We actually have a different command line tools we use in our provider's go generate, which displays that same error although it still works fine:
tfplugingen-framework CLI version
tfplugingen-framework module: v0.3.1
Provider Code Spec File
NA
Expected Behavior
No error when using this as tools dependency.
Actual Behavior
import "github.com/hashicorp/terraform-plugin-codegen-framework/cmd/tfplugingen-framework" is a program, not an importable package
Additional Information
Despite having same project layout,
"github.com/hashicorp/terraform-plugin-docs/cmd/tfplugindocs"
works as a tools dependency.Is there a new way to add tools dependency? Where is it documented?
Code of Conduct
The text was updated successfully, but these errors were encountered: