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

Fail to install under go version 1.17 #87

Open
GeromeRen opened this issue Oct 31, 2022 · 1 comment
Open

Fail to install under go version 1.17 #87

GeromeRen opened this issue Oct 31, 2022 · 1 comment

Comments

@GeromeRen
Copy link

Environment: go 1.17.0 x64

We are using windows-latest hosted agent in AzureDevOps. During pipeline execution, it fail to install terraform-config-inspect using go 1.17, however it works in go 1.18.

Below is the error message using go 1.17:

go version go1.17 windows/amd64
Cloning into 'terraform-config-inspect'...
go: downloading github.com/spf13/pflag v1.0.3
go: downloading github.com/hashicorp/hcl v0.0.0-20170504190234-a4b07c25de5f
go: downloading github.com/hashicorp/hcl/v2 v2.0.0
go: downloading github.com/zclconf/go-cty v1.1.0
go: downloading github.com/agext/levenshtein v1.2.2
go: downloading github.com/apparentlymart/go-textseg v1.0.0
go: downloading github.com/mitchellh/go-wordwrap v1.0.0
go: downloading golang.org/x/text v0.3.2
go: downloading github.com/google/go-cmp v0.3.0

github.com/hashicorp/terraform-config-inspect/tfconfig

tfconfig\filesystem.go:93:37: undefined: any
note: module requires Go 1.18

May I ask whether terraform-config-inspect still support install under go 1.17?

@karedinvs
Copy link

have the same question
Does the library support setting version like this
github.com/hashicorp/terraform-config-inspect@VERSION

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

No branches or pull requests

2 participants