Skip to content

internal error: package "context" without types was imported #255

@remyleone

Description

@remyleone

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

tfproviderlint and terraform-plugin-sdk Version

$ tfproviderlint -version
tfproviderlint v0.28.1

$  go mod graph | cut -d' ' -f 1 | grep terraform-plugin-sdk | uniq
github.com/hashicorp/terraform-plugin-sdk/v2@v2.11.0

$ go version
go version go1.18 darwin/amd64

Affected Check(s) or Function(s)

  • AT###

Expected Behavior

The program runs.

Actual Behavior

$ tfproviderlint run ./...
tfproviderlint: internal error: package "context" without types was imported from "github.com/scaleway/terraform-provider-scaleway/v2/scaleway"

You can use the master branch and it reproduces: https://github.com/scaleway/terraform-provider-scaleway

Metadata

Metadata

Assignees

Labels

dependenciesPull requests that update a dependency file

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions