Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot find module providing package github.com/hashicorp/terraform-exec/tfinstall #122

Closed
tekumara opened this issue Mar 13, 2022 · 2 comments · Fixed by #112
Closed

cannot find module providing package github.com/hashicorp/terraform-exec/tfinstall #122

tekumara opened this issue Mar 13, 2022 · 2 comments · Fixed by #112
Milestone

Comments

@tekumara
Copy link

go mod init demo
go get github.com/hashicorp/terraform-plugin-framework
go get github.com/hashicorp/terraform-plugin-go
go get github.com/hashicorp/terraform-plugin-sdk/v2
cat go.mod
module demo

go 1.17

require (
	github.com/hashicorp/terraform-plugin-framework v0.6.0 // indirect
	github.com/hashicorp/terraform-plugin-go v0.8.0 // indirect
	github.com/hashicorp/terraform-plugin-sdk/v2 v2.11.0 // indirect
)
go get github.com/hashicorp/terraform-plugin-docs/cmd/tfplugindocs
github.com/hashicorp/terraform-plugin-docs/cmd/tfplugindocs imports
	github.com/hashicorp/terraform-plugin-docs/internal/cmd imports
	github.com/hashicorp/terraform-plugin-docs/internal/provider imports
	github.com/hashicorp/terraform-exec/tfinstall: cannot find module providing package github.com/hashicorp/terraform-exec/tfinstall
@tekumara
Copy link
Author

tekumara commented Mar 13, 2022

go get github.com/hashicorp/terraform-plugin-docs
go run github.com/hashicorp/terraform-plugin-docs/cmd/tfplugindocs
/Users/tekumara/go/pkg/mod/github.com/hashicorp/terraform-plugin-docs@v0.5.1/internal/provider/generate.go:13:2: missing go.sum entry for module providing package github.com/hashicorp/terraform-exec/tfexec (imported by github.com/hashicorp/terraform-plugin-docs/internal/provider); to add:
	go get github.com/hashicorp/terraform-plugin-docs/internal/provider@v0.5.1
/Users/tekumara/go/pkg/mod/github.com/hashicorp/terraform-plugin-docs@v0.5.1/internal/provider/generate.go:14:2: missing go.sum entry for module providing package github.com/hashicorp/terraform-exec/tfinstall (imported by github.com/hashicorp/terraform-plugin-docs/internal/provider); to add:
	go get github.com/hashicorp/terraform-plugin-docs/internal/provider@v0.5.1
/Users/tekumara/go/pkg/mod/github.com/hashicorp/terraform-plugin-docs@v0.5.1/internal/provider/generate.go:15:2: missing go.sum entry for module providing package github.com/hashicorp/terraform-json (imported by github.com/hashicorp/terraform-plugin-docs/internal/provider); to add:
	go get github.com/hashicorp/terraform-plugin-docs/internal/provider@v0.5.1
/Users/tekumara/go/pkg/mod/github.com/hashicorp/terraform-plugin-docs@v0.5.1/cmd/tfplugindocs/main.go:6:2: missing go.sum entry for module providing package github.com/mattn/go-colorable (imported by github.com/hashicorp/terraform-plugin-docs/cmd/tfplugindocs); to add:
	go get github.com/hashicorp/terraform-plugin-docs/cmd/tfplugindocs@v0.5.1
/Users/tekumara/go/pkg/mod/github.com/hashicorp/terraform-plugin-docs@v0.5.1/internal/provider/generate.go:16:2: missing go.sum entry for module providing package github.com/mitchellh/cli (imported by github.com/hashicorp/terraform-plugin-docs/internal/cmd); to add:
	go get github.com/hashicorp/terraform-plugin-docs/internal/cmd@v0.5.1
/Users/tekumara/go/pkg/mod/github.com/hashicorp/terraform-plugin-docs@v0.5.1/internal/mdplain/mdplain.go:3:8: missing go.sum entry for module providing package github.com/russross/blackfriday (imported by github.com/hashicorp/terraform-plugin-docs/internal/mdplain); to add:
	go get github.com/hashicorp/terraform-plugin-docs/internal/mdplain@v0.5.1
/Users/tekumara/go/pkg/mod/github.com/hashicorp/terraform-plugin-docs@v0.5.1/schemamd/render.go:10:2: missing go.sum entry for module providing package github.com/zclconf/go-cty/cty (imported by github.com/hashicorp/terraform-plugin-docs/schemamd); to add:
	go get github.com/hashicorp/terraform-plugin-docs/schemamd@v0.5.1

@bflad
Copy link
Member

bflad commented Mar 14, 2022

Hi @tekumara 👋 Thank you for raising this and sorry you ran into trouble here. We have cut a v0.6.0 release which should resolve this issue.

You can update your project via:

go get github.com/hashicorp/terraform-plugin-docs@v0.6.0
go mod tidy

We will be updating terraform-provider-scaffolding and terraform-provider-scaffolding-framework shortly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants