https://pulumi.com logo
Title
i

icy-controller-6092

05/26/2023, 10:14 PM
I'm looking to deploy fly.io apps in my pulumi stack but I see there is not yet a terraform provider. What do people do in this situation? I'm leaning towards having two seperate deployment processes, which is not necessarily a bad thing because deploying to fly with flyctl is rather slow as it waits for the machines to come up & then runs a healthcheck
c

clever-sunset-76585

05/26/2023, 10:26 PM
i

icy-controller-6092

05/26/2023, 10:26 PM
Ah thank you 🙂 can you bridge to the provider with the nodejs sdk?
c

clever-sunset-76585

05/26/2023, 10:27 PM
As for a Pulumi provider based on that, I thought I saw one somewhere but all I see is an empty repo in Fly's GH org. Not sure where else I might have seen it though.
I don't know if the Pulumi TF bridge can bridge that provider. A while back it wasn't possible due to the TF plugin version used by that provider, but maybe it can be bridged now.
i

icy-controller-6092

05/26/2023, 10:28 PM
I think you're right, just noticed this from @tall-crowd-93084: https://github.com/fly-apps/terraform-provider-fly/pull/148
c

clever-sunset-76585

05/26/2023, 10:29 PM
Ah yes indeed. That's the one I saw.
t

tall-crowd-93084

05/29/2023, 8:56 AM
@icy-controller-6092 I'd be interested to see where you get to with this - I've got 5 or so services that I've just manually deployed for now, but it would be great to spin them up per client with Pulumi!
i

icy-controller-6092

05/29/2023, 12:25 PM
I'm just deploying separately to my pulumi deploy process, but I wonder if you could implement this as a dynamic resource that lightly wraps the fly CLI? https://www.pulumi.com/docs/concepts/resources/dynamic-providers/
l

limited-rainbow-51650

05/29/2023, 8:24 PM
Hey @icy-controller-6092, do join the #plugin-framework channel. The author of our Pulumi Terraform bridge will be able to help you out.