This message was deleted.
# office-hours
s
This message was deleted.
b
You can work with me on that 🙂
🍺 1
w
cool
b
ok, upgrade done
can you show me your go.mod?
w
wow that’s fast
b
change the require to these
Copy code
github.com/pulumi/pulumi v1.13.1
	github.com/pulumi/pulumi-terraform-bridge v1.8.4
	github.com/terraform-providers/terraform-provider-akamai v0.5.0
then add this to the replace
that should then allow you to build the correct code
and it will bring in the other deps you need
w
getting error:
Copy code
resources.go:23:2: module github.com/pulumi/pulumi/pkg@latest found (v1.14.0), but does not contain package github.com/pulumi/pulumi/pkg/resource
resources.go:24:2: module github.com/pulumi/pulumi/pkg@latest found (v1.14.0), but does not contain package github.com/pulumi/pulumi/pkg/tokens
b
ok, actually, can you change the pulumi version to v1.12.1
1.13.0 brought in new modules
w
Copy code
go install -ldflags "-X github.com/pulumi/pulumi-akamai/pkg/version.Version=v0.0.1-dev.1586548645+gede600c.dirty" github.com/pulumi/pulumi-akamai/cmd/pulumi-tfgen-akamai
build github.com/pulumi/pulumi-akamai/cmd/pulumi-tfgen-akamai: cannot load github.com/pulumi/pulumi/pkg/codegen/go: ambiguous import: found github.com/pulumi/pulumi/pkg/codegen/go in multiple modules:
	github.com/pulumi/pulumi v1.12.1 (/Users/yliu/go/pkg/mod/github.com/pulumi/pulumi@v1.12.1/pkg/codegen/go)
	github.com/pulumi/pulumi/pkg v0.0.0-20200325225746-80f1989600a3 (/Users/yliu/go/pkg/mod/github.com/pulumi/pulumi/pkg@v0.0.0-20200325225746-80f1989600a3/codegen/go)
make: *** [tfgen] Error 1
b
you will need to run a make ensure again I believe
it seems to have got some weird imports here
w
getting some other import errors after
make ensure
, I will take another look later today, should be easy to resolve
thx for the help!
b
if you can push it to your repo and link me, I can have a look and send a PR
thank you
b
👍
I will look into it