Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot run pulumi up without error using pulumi version v3.102.0 #213

Open
mojochao opened this issue Jan 22, 2024 · 1 comment
Open

Cannot run pulumi up without error using pulumi version v3.102.0 #213

mojochao opened this issue Jan 22, 2024 · 1 comment

Comments

@mojochao
Copy link

I built the https://github.com/frezbo/pulumi-provider-kind provider using Go 1.20.2.

I am using pulumi v3.102.0 and when I run pulumi up I see the following error.

$ pulumi up
Please choose a stack, or create a new one: irsa-anywhere
Previewing update (irsa-anywhere)

View in Browser (Ctrl+O): https://app.pulumi.com/mojochao/irsa-anywhere/irsa-anywhere/previews/60b6f09e-44a4-4067-8ba6-f393287c7ab6

     Type                 Name                         Plan     Info
     pulumi:pulumi:Stack  irsa-anywhere-irsa-anywhere           1 error; 3 messages

Diagnostics:
  pulumi:pulumi:Stack (irsa-anywhere-irsa-anywhere):
    # github.com/frezbo/irsa-anywhere/pkg/apps/irsa
    pkg/apps/irsa/irsa.go:215:3: unknown field Subjects in struct literal of type "github.com/pulumi/pulumi-tls/sdk/v4/go/tls".SelfSignedCertArgs
    pkg/apps/irsa/irsa.go:215:17: undefined: tls.SelfSignedCertSubjectArray

    error: error in compiling Go: unable to run `go build`: exit status 1

Does this require a specific version of pulumi?

Please advise. Many thanks in advance!

@frezbo
Copy link
Owner

frezbo commented Jan 23, 2024

I'm not sure anymore, this was done with a way old pulumi version, but the examples can be easily converted over to newer pulumi version as the sdk changes frequently. I won't have time to look into this anymore unfortunately. This was done when I was just hacking around pulumi.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants