And renamed `NewFunctionsIamMember` to `NewFuncti...
# golang
t
And renamed
NewFunctionsIamMember
to
NewFunctionIamMember
w
All of these examples are using
v2
. I would expect that if you are using
go mod
to acquire dependencies as suggested in READMEs that you would get the v2 versions of all modules and would not see this error. To get this error - you must have somehow acquired a version of one of that packages that is not mentioned in the go.mod and installed it in your GoPATH?
FWIW - I would strongly recommend using the v2 versions as the pre-2.0.0 versions were preview for Go and are not guaranteed to work as seamlessly.
t
Using v2 of the sdk leads to the Context issues
w
If you are using v2 of all packages you will not hit that error. You can see that the second type it mentions is not a v2 type.
t
When I run
pulumi up
you can see it extracting v1.13.1. I haven’t modified
go.sum
nor dependencies in
main.go
w
As noted in the other thread - there is a bug in that example which I expect causes this. I believe https://github.com/pulumi/examples/pull/667/files will fix this.
t
Thanks. I was going to a submit a few of the changes covered in the PR.