https://pulumi.com logo
#contribute
Title
# contribute
f

flat-sunset-64442

11/23/2023, 12:12 PM
Hi, Not sure what channel to post this in, but I've got an issue with a provider that I'm trying to solve myself... The go version of this package https://github.com/pulumi/pulumi-tls-self-signed-cert is having a compilation issue. In two places there are structs that reference a type in another package, but the types aren't prefixed with the package name, causing a compilation error. In this file: https://github.com/pulumi/pulumi-tls-self-signed-cert/blob/main/sdk/go/tls-self-signed-cert/selfSignedCertificate.go `Subject SelfSignedCertSubject `pulumi:"subject"`` should be `Subject tls.SelfSignedCertSubject `pulumi:"subject"`` and
Subject SelfSignedCertSubjectInput
should be
Subject tls.SelfSignedCertSubjectInput
So, my question is. I assume I need to change something in
schema.json
file, but I'm not sure what?
e

echoing-dinner-19531

11/24/2023, 2:22 PM
The schema has
Copy code
"$ref": "/tls/v4.6.1/schema.json#/types/tls:index/SelfSignedCertSubject:SelfSignedCertSubject",
Which looks right to me, this is probably a bug in the Go codegenerator.
f

flat-sunset-64442

11/24/2023, 2:25 PM
Ok, sounds like a rabbit hole I might not want to fall into 😅 Thanks though 🙂