Hi, I'd like to control my Authentik server instan...
# typescript
b
Hi, I'd like to control my Authentik server instance with Pulumi, but I discover there is no such plugin (,...yet!). Would anyone be around to possibly mentor me slightly to get one created and hosted in npm?
fwiw I did try
pulumi package add terraform-provider goauthentik/authentik
but it was causing a lot of pain with TS errors. But the bigger problem was it was refusing to read the host and token args from the Provider; I can see the code was trying instead to read from the Pulumi config at
authentik:token
which doesn't exist because the actual instance of Authentik itself is created by Pulumi also as an Output<>.
e
have you successfully used other pulumi SDKs? Because it's normal for it to read from config for things like tokens
b
Yes for example cloudflare Provider reads from there. But for example with rancher2 Provider I specify a url/token in the new rancher2.Provider() args, and there is no Rancher config in Pulumi.
I note that @pulumi/rancher2 is, itself, a wrapper around TF. Is there a repo or person who I could contact to request the addition of this, do you think?
e
Using the terraform-provider with package add should work. If there's issues with that I'd suggest raising an issue at https://github.com/pulumi/pulumi or https://github.com/pulumi/pulumi-terraform-provider