This message was deleted.
# pulumiverse
s
This message was deleted.
h
Hi @delightful-napkin-38557, I had the same question, and could not find any good examples (all the native providers seem to be code gen'd and hard to understand) Here is what I came up with for our native provider: https://github.com/zeet-dev/pulumi-zeet-native/blob/main/provider/pkg/config/config.go#L11
d
thanks ! but you still have the pkg folder, which seems to be not the latest way to build provider
h
Ah, I wasn't aware of a convention excluding internal packages. The ConfigureFunc could be implemented in the main package instead.
d
I finally got my own native provider
but is there an example how to write tests ?
I don't see any test in the existing pulumi providers ...