fly.io terraform provider

Would it make sense to add Terraform support for Postgres DBs? I’d like to be able to check the DB’s configuration into version control instead of needing to remember what flyctl postgres commands I used to set it up.

1 Like

I’ve considered this before. Now that we’ve released fly postgres on machines I’d consider maybe rolling some of that in.

2 Likes

@DAlperin Thanks for the awesome work on this, it makes thinking about deploying much easier. I wanted to know if you plan on adding the “experimental” flag on the fly apps. I’m building a RabbitMQ cluster and my only option now is to use consul for distribution and would like to be able to do it all on terraform if possible

@DAlperin Based on what you said, is it not possible to have terraform work with postgres?

The fly terraform provider also marks postgres as todo.

I’m assuming the workaround is use terraform/fly for the machines, then manually use flyctl to setup postgresql and connect it?