once we have the forked akamai provider and after ...
# office-hours
w
once we have the forked akamai provider and after I finished the pulumi-akamai code, is there a process to submit the provider to the official pulumi org?
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
<http://github.com/pulumi/pulumi|github.com/pulumi/pulumi> v1.13.1
	<http://github.com/pulumi/pulumi-terraform-bridge|github.com/pulumi/pulumi-terraform-bridge> v1.8.4
	<http://github.com/terraform-providers/terraform-provider-akamai|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 <http://github.com/pulumi/pulumi/pkg@latest|github.com/pulumi/pulumi/pkg@latest> found (v1.14.0), but does not contain package <http://github.com/pulumi/pulumi/pkg/resource|github.com/pulumi/pulumi/pkg/resource>
resources.go:24:2: module <http://github.com/pulumi/pulumi/pkg@latest|github.com/pulumi/pulumi/pkg@latest> found (v1.14.0), but does not contain package <http://github.com/pulumi/pulumi/pkg/tokens|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 <http://github.com/pulumi/pulumi-akamai/pkg/version.Version=v0.0.1-dev.1586548645+gede600c.dirty|github.com/pulumi/pulumi-akamai/pkg/version.Version=v0.0.1-dev.1586548645+gede600c.dirty>" <http://github.com/pulumi/pulumi-akamai/cmd/pulumi-tfgen-akamai|github.com/pulumi/pulumi-akamai/cmd/pulumi-tfgen-akamai>
build <http://github.com/pulumi/pulumi-akamai/cmd/pulumi-tfgen-akamai|github.com/pulumi/pulumi-akamai/cmd/pulumi-tfgen-akamai>: cannot load <http://github.com/pulumi/pulumi/pkg/codegen/go|github.com/pulumi/pulumi/pkg/codegen/go>: ambiguous import: found <http://github.com/pulumi/pulumi/pkg/codegen/go|github.com/pulumi/pulumi/pkg/codegen/go> in multiple modules:
	<http://github.com/pulumi/pulumi|github.com/pulumi/pulumi> v1.12.1 (/Users/yliu/go/pkg/mod/github.com/pulumi/pulumi@v1.12.1/pkg/codegen/go)
	<http://github.com/pulumi/pulumi/pkg|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