nice-guitar-7761
09/29/2023, 9:20 AMcd
into scripts/
, and run go build
.
You should then get the following lines into your terminal:
# <http://github.com/Eclion/pulumi-playground/dummy-sdk/go/dummy|github.com/Eclion/pulumi-playground/dummy-sdk/go/dummy>
../../../../go/pkg/mod/github.com/!eclion/pulumi-playground@v0.0.0-20230929090446-15f1174275f5/dummy-sdk/go/dummy/provider.go:69:64: type instantiation requires go1.18 or later (-lang was set to go1.16; check go.mod)
../../../../go/pkg/mod/github.com/!eclion/pulumi-playground@v0.0.0-20230929090446-15f1174275f5/dummy-sdk/go/dummy/provider.go:70:23: type instantiation requires go1.18 or later (-lang was set to go1.16; check go.mod)
../../../../go/pkg/mod/github.com/!eclion/pulumi-playground@v0.0.0-20230929090446-15f1174275f5/dummy-sdk/go/dummy/provider.go:89:69: type instantiation requires go1.18 or later (-lang was set to go1.16; check go.mod)
../../../../go/pkg/mod/github.com/!eclion/pulumi-playground@v0.0.0-20230929090446-15f1174275f5/dummy-sdk/go/dummy/provider.go:90:23: type instantiation requires go1.18 or later (-lang was set to go1.16; check go.mod)
My understanding is that the upgrade of the Pulumi dependencies introduced the go generics which is why the type instantiation
errors now appear.
However, I couldn't find a way to fix the issue, appart using older pulumi dependencies, and running go build
into the dummy-provider
folder works without issues.
Is there anyone who has an idea on how it is possible to fix this issue ?ancient-policeman-24615
09/29/2023, 5:32 PMgo.mod
in your dummy-sdk
folder.nice-guitar-7761
09/29/2023, 7:30 PM