Hi. I'm trying to implement a Pulumi provider usin...
# general
Hi. I'm trying to implement a Pulumi provider using https://github.com/pulumi/pulumi-provider-boilerplate template. Is there more detailed documentation how a provider should be implemented? I was searching for the following but I couldn't find it: 1. what is the format of the schema.json file? (https://github.com/pulumi/pulumi-provider-boilerplate/blob/master/schema.json) I found https://github.com/pulumi/pulumi/blob/master/pkg/codegen/schema/schema.go but it's really difficult to parse it and grasp how it maps to a JSON file 2. how is it possible to implement a single provider managing multiple types of resources? Are the functions like https://github.com/pulumi/pulumi-provider-boilerplate/blob/master/pkg/provider/provider.go#L120 expected to handle different resource types just by checking the resource type (https://github.com/pulumi/pulumi-provider-boilerplate/blob/master/pkg/provider/provider.go#L122-L123)? 3. How can I configure my provider (e.g. provide target URLs and credentials it should use for managing remote resources etc.)? 4. Is it possible to implement resource import to Pulumi state with my custom Pulumi provider? 5. There is a list of functions that are not documented with details why they are needed and they have only some one-line implementations (CheckConfig, DiffConfig, Configure, Invoke, StreamInvoke). Is there a place where I can find answers for my questions?