Add official support for Pulumi configuration of FusionAuth
Support Pulumi configuration of FusionAuth
Problem
I want to configure FusionAuth using Pulumi. https://www.pulumi.com/
Solution
Implement a provider. More details here: https://www.pulumi.com/docs/troubleshooting/faq/#supported-clouds-and-languages
Alternatives/workarounds
Use the terraform provider.
Additional context
This was a request that came from a prospect.
Related: https://github.com/FusionAuth/fusionauth-issues/issues/1089
Community guidelines
All issues filed in this repository must abide by the FusionAuth community guidelines.
How to vote
Please give us a thumbs up or thumbs down as a reaction to help us prioritize this feature. Feel free to comment if you have a particular need or comment on how this feature should work.
-1 because most pulumi providers are just wrapped Terraform providers, i.e. the AWS provider which is arguably the most used provider on terraform (and therefore I would assume pulumi). Therefore I vote against this and in favor of more support for the Terraform provider, but I suppose wrapping that to satisfy this pulumi provider is low-effort
See pulumi-tf-provider-boilerplate and pulumi-terraform-bridge
Thanks for your feedback @kevcube !
I opened a ticket for similar reasons: https://github.com/FusionAuth/fusionauth-issues/issues/1572
Instead I want to use a kubernetes operator. I suggested using a project which can generate Kubernetes Operators based on Terraform Providers/Modules. Check it: https://github.com/crossplane/terrajet/blob/main/README.md
We are both asking for FusionAuth to integrate with two different tools using Terraform Providers in the background.
Sounds like a Terraform Provider would be a good place to start.
I've created one here that uses the Terraform one from gpsinsight as a bridge:
https://github.com/theogravity/pulumi-fusionauth
I would also be happy to hand it over to the FusionAuth org so it can be an official release.
It's now part of the pulumi registry
https://github.com/pulumi/registry/pull/1289
@mooreds This issue can be closed now I think.
https://www.pulumi.com/registry/packages/fusionauth/
Thanks so much @theogravity !
I'm going to leave this open because it feels like we should support this officially, but this is a great pointer to anyone who wants to use the community version. Will update the docs and change the title of this issue.