hashicorp / hashicorp/terraform-plugin-docs
tfplugindocs does not handle tags
- Dominant language
- Go
- Stars
- 263
- Forks
- 84
- Avg merge
- 3d 6h
- Merged PRs (30d)
- 2
Description
I have a Terraform Provider which needs special _tags_ to build.
These _tags_ I can pass to:
> go run -tags containers_image_openpgp github.com/hashicorp/terraform-plugin-docs/cmd/tfplugindocs
The problem is though, that tfplugindocs does not pass along the _tags_.
As a result tflugindocs fails building Go files.
> Error: /home/runner/go/pkg/mod/github.com/containers/image/v5@v5.16.2-0.20211021181114-25411654075f/signature/mechanism_gpgme.go:17:16: undefined: gpgme.Context
Error: /home/runner/go/pkg/mod/github.com/containers/image/v5@v5.16.2-0.20211021181114-25411654075f/signature/mechanism_gpgme.go:67:44: undefined: gpgme.Context
Error: /home/runner/go/pkg/mod/github.com/containers/image/v5@v5.16.2-0.20211021181114-25411654075f/signature/mechanism_gpgme.go:68:14: undefined: gpgme.New
Error: /home/runner/go/pkg/mod/github.com/containers/image/v5@v5.16.2-0.20211021181114-25411654075f/signature/mechanism_gpgme.go:72:27: undefined: gpgme.ProtocolOpenPGP
Error: /home/runner/go/pkg/mod/github.com/containers/image/v5@v5.16.2-0.20211021181114-25411654075f/signature/mechanism_gpgme.go:76:28: undefined: gpgme.ProtocolOpenPGP
Error: /home/runner/go/pkg/mod/github.com/containers/image/v5@v5.16.2-0.20211021181114-25411654075f/signature/mechanism_gpgme.go:98:20: undefined: gpgme.NewDataBytes
Error: /home/runner/go/pkg/mod/github.com/containers/image/v5@v5.16.2-0.20211021181114-25411654075f/signature/mechanism_gpgme.go:127:20: undefined: gpgme.NewDataBytes
Error: /home/runner/go/pkg/mod/github.com/containers/image/v5@v5.16.2-0.20211021181114-25411654075f/signature/mechanism_gpgme.go:132:18: undefined: gpgme.NewDataWriter
Error: /home/runner/go/pkg/mod/github.com/containers/image/v5@v5.16.2-0.20211021181114-25411654075f/signature/mechanism_gpgme.go:136:25: undefined: gpgme.Key
Error: /home/runner/go/pkg/mod/github.com/containers/image/v5@v5.16.2-0.20211021181114-25411654075f/signature/mechanism_gpgme.go:136:61: undefined: gpgme.SigModeNormal
Error: /home/runner/go/pkg/mod/github.com/containers/image/v5@v5.16.2-0.20211021181114-25411654075f/signature/mechanism_gpgme.go:136:61: too many errors
Thus I would need a way for tfplugindocs to handle tags when generating code.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.