fusionauth-issues icon indicating copy to clipboard operation
fusionauth-issues copied to clipboard

Add official support for Pulumi configuration of FusionAuth

Open mooreds opened this issue 3 years ago • 7 comments

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.

mooreds avatar Feb 24 '22 20:02 mooreds

-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

kevcube avatar Feb 25 '22 01:02 kevcube

Thanks for your feedback @kevcube !

mooreds avatar Feb 25 '22 02:02 mooreds

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.

kferrone avatar Mar 07 '22 16:03 kferrone

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.

theogravity avatar Jul 23 '22 07:07 theogravity

It's now part of the pulumi registry

https://github.com/pulumi/registry/pull/1289

theogravity avatar Jul 27 '22 20:07 theogravity

@mooreds This issue can be closed now I think.

https://www.pulumi.com/registry/packages/fusionauth/

theogravity avatar Jul 29 '22 18:07 theogravity

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.

mooreds avatar Aug 15 '22 12:08 mooreds