Skip to content

development environment make tools step fails #40485

@mbacchi

Description

@mbacchi

Description

When following the development environment setup guide in a VScode devcontainer, one of the first steps make tools fails with the error:

vscode ➜ /workspaces/terraform-provider-aws-3 (main) $ make tools
make: Installing tools...
cd .ci/providerlint && go1.23.3 install .
...
cd .ci/tools && go1.23.3 install github.com/golangci/golangci-lint/cmd/golangci-lint
# github.com/golangci/golangci-lint/pkg/golinters/tagliatelle
/go/pkg/mod/github.com/golangci/golangci-lint@v1.62.2/pkg/golinters/tagliatelle/tagliatelle.go:13:3: unknown field Rules in struct literal of type "github.com/ldez/tagliatelle".Config
make: *** [GNUmakefile:677: tools] Error 1

It appears that golangci-lint v1.62.2 does not yet require tagliatelle v0.60 (though the next release will due to this unreleased change), which was an upgraded CI dependency 5 days ago in terraform-provider-aws/.ci/tools/go.mod. This causes an inconsinstency in the tagliatelle config file that isn't tolerated in the make tools process.

References

No response

Would you like to implement a fix?

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    linterPertains to changes to or issues with the various linters.upstreamAddresses functionality related to the cloud provider.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions