hashicorp / hashicorp/terraform-plugin-codegen-framework

Go tools fails to identify codegen-framework as a tool dependency

Open
#122 3 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Go
Stars
57
Forks
29
Avg merge
2d 13h
Merged PRs (30d)
1

Description

### tfplugingen-framework CLI version

`tfplugingen-framework module: v0.3.1`

### Provider Code Spec File

```JSON
NA
```

### Expected Behavior

No error when using this as tools dependency.

### Actual Behavior

![image](https://github.com/hashicorp/terraform-plugin-codegen-framework/assets/5434666/6717b7ac-5a1e-44eb-ae0d-b8a3e11e8d45)

`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](https://github.com/go-modules-by-example/tools).

Is there a new way to add tools dependency? Where is it documented?

### Code of Conduct

- [X] I agree to follow this project's Code of Conduct

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.