Where can I read about terraform providers in pulu...
# getting-started
p
Where can I read about terraform providers in puluimi - I import the stuff, but how do I configure a provider - say NetBox provider I need to put in provider {} url, token etc.... how does this work in pulumi?
t
This stuff goes in your stack config
In camel case iirc
p
oh
is there an example somewhere
camel case is fine - i used that a lot with pulumi golang, but never had to use terraform providers
l
@polite-needle-86030 for providers which are published in our registry, the
Installation & Configuration
page usually describes how to configure a provider, either via stack configuration or via environment variables. Let me take the
Buildkite
provider as an example: https://www.pulumi.com/registry/packages/buildkite/installation-configuration/#configuration-options The command to run to configure one of the options for the Buildkite provider is:
Copy code
pulumi config set buildkite:<option>
With
<option>
one of the entries in the table listed on the page I linked above. I don’t see the Netbox provider listed in our registry, but I found one on Github. The README lists similar commands to configure it: https://github.com/juhnny5/pulumi-netbox?tab=readme-ov-file#prerequisites