sparse-intern-71089
12/05/2023, 9:24 PMbig-architect-71258
12/06/2023, 8:48 AMpulumi command is used to creates the a language SDK like the following pulumi package gen-sdk --language python . For a wrapped provider tfgen creates the language SDKs.
Both tools use the schema.json file to create the language bindings for resources and functions (data sources) from the provider.
The code to create code for languages itself is located in the codegen package in the pulumi repository: https://github.com/pulumi/pulumi/tree/master/pkg/codegenkind-jelly-61624
12/06/2023, 4:44 PMpulumi.ProviderResource . This would be what users of my sdk would instantiate as a Provider to pass into ResourceOptions or InvokeOptions.
I was wondering if there was a way to extend thatbig-architect-71258
12/06/2023, 4:46 PMcodegen package mentioned above. But someone from Pulumi e.g. @billowy-army-68599 or @echoing-dinner-19531 might correct me here.kind-jelly-61624
12/06/2023, 5:14 PM