https://pulumi.com logo
#golang
Title
# golang
r

ripe-shampoo-80285

05/15/2021, 5:58 PM
b

billowy-army-68599

05/15/2021, 6:09 PM
we removed some of the types, can you show me the error?
r

ripe-shampoo-80285

05/15/2021, 7:11 PM
func pulumi.StringPtr(v string) pulumi.StringPtrInput `pulumi.StringPtr`<#| on pkg.go.dev> StringPtr is an input type for *string values. cannot use pulumi.StringPtr(profile) (value of type pulumi.StringPtrInput) as pulumi.StringPtrInput value in struct literal: wrong type for method ToStringPtrOutput (have func() github.com/pulumi/pulumi/sdk/v3/go/pulumi.StringPtrOutput, want func() github.com/pulumi/pulumi/sdk/v2/go/pulumi.StringPtrOutput)
It looks like pulumi-eks is useing v2 version of pulumi sdk. This cause conflict with v3 version pulumi?
I figure it out.
A "go get github.com/pulumi/pulumi-eks/sdk/go/eks" upgraded pulumi-eks. Now its working. Thanks @billowy-army-68599!
@billowy-army-68599 I really enjoyed watching this video (https://www.bigmarker.com/pulumi/AWS-DevDay-Building-a-Kubernetes-platform-in-Amazon-EKS-with-Pulumi?bmid=79e5ffa3b5b8). I might missed, did you have link to the source code?
b

billowy-army-68599

05/16/2021, 12:22 AM
hey! glad to hear you enjoyed it! all the code snippets are here: https://pulumi.awsworkshop.io/50_eks_platform.html if there's something elsr you're looking for, let me know
r

ripe-shampoo-80285

05/16/2021, 1:28 AM
Great, thanks!
3 Views