bflad / tfproviderlint

Terraform Provider Lint Tool
Mozilla Public License 2.0
136 stars 25 forks source link

Mismatch between go version #271

Open remyleone opened 1 year ago

remyleone commented 1 year ago

tfproviderlint and terraform-plugin-sdk Version

$  tfproviderlint -version
tfproviderlint v0.29.0

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

$ tfproviderlint run ./...
-: package run is not in GOROOT (/usr/local/Cellar/go/1.20.3/libexec/src/run)
-: This application uses version go1.19 of the source-processing packages but runs version go1.20 of 'go list'. It may fail to process source files that rely on newer language features. If so, rebuild the application using a newer version of Go.
tfproviderlint: 2 errors during loading

Expected Behavior

What should have happened?

Actual Behavior

What actually happened?

References