https://pulumi.com logo
#general
Title
# general
c

clever-rose-11123

10/27/2022, 1:02 AM
Has anyone got any examples of writing native providers in python or js/ts? The native provider boilerplate from https://www.pulumi.com/docs/guides/pulumi-packages/how-to-author/ is only for go
b

billowy-army-68599

10/27/2022, 1:05 AM
we only currently support native providers in Go
c

clever-rose-11123

10/27/2022, 1:05 AM
ah right ok thanks
So for interfacing with a SAAS would a component work, or are they specifically for extending existing providers?
Basically we are looking to do things that the existing github provider doesn't do around organizations. We already have a provider written in python that is working that we can call from the local fs
Were just wondering what the best way to package it was for re-use
b

billowy-army-68599

10/27/2022, 1:10 AM
you want a dynamic provider for that, if you’re using typescript or python
We already have a provider written in python that is working that we can call from the local fs
interesting, does this interface with the enginer via grpc?
c

clever-rose-11123

10/27/2022, 1:12 AM
Yeah sorry I should have mentioned it was a dynamic provider at present
that we were hoping to make more re-usable
but if that's not supported we can just do filesystem import
Is pretty basic code
b

billowy-army-68599

10/27/2022, 1:14 AM
we don’t have a mechanism to repackage dynamic and distribute dynamic providers just yet, so a filesystem import is likely your best bet
c

clever-rose-11123

10/27/2022, 1:15 AM
Ok no worries. Thanks heaps for the info, saved me a tonne of time!
e

echoing-dinner-19531

10/27/2022, 7:31 AM
Note that we will be supporting full providers in all our languages soon, https://github.com/pulumi/pulumi/issues/10915 is tracking this for typescript.
c

clever-rose-11123

10/27/2022, 9:49 AM
Awesome thanks