hey folks, what's the process for making a terrafo...
# typescript
c
hey folks, what's the process for making a terraform-provider into an npm package? i'm interested in using the honeycombio provider but would rather not have it installed as a local package. seems like there's some precedent for pulumi npm packages based on terraform providers on the pulumi npm page
g
there are several ways to do that https://www.pulumi.com/docs/iac/cli/commands/pulumi_package_add/
pulumi package add terraform-provider my-tf/repo
or create a proper brigde provider - requires GoLang skills https://github.com/pulumi/pulumi-tf-provider-boilerplate
c
hey jan, i'm not trying to create a new bridge provider i want to convert the existing honeycomb provider into an npm package
g
Can you be more specific what is it you are trying to achieve? All “real” npm packages are generated from bridge providers and require maintenance, with the generated package all you need to do is to upload it to some registry and maintain it. Optionally you can share the package with others via https://github.com/pulumiverse
pulumi package add
is the most recent sdk generator pulumi team developed should you want to change anything there I suggest reading dev docs here: https://github.com/pulumi/pulumi/tree/master/developer-docs it will eventually take to you terraform bridge as well. I am not sure if pulumi team is willing to take on honeycomb maintenance by themselves because I do not see the adoption rate being a great investment compared to let’s say aws or gcp. But it is great fit for pulumi verse or self maintained package via
..package add
feature