How to create preview environments?

This page summarizes the projects mentioned and recommended in the original post on /r/Terraform

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • flyctl

    Command line tools for fly.io services

    I'm working on setting-up terraform for my company's infrastructure. One thing that I can't figure out how to do is pull request preview environments. The goal is that when a "preview-dashboard" label is added on a pull request we spin up some resources (fly.io app, machine and Postgres database via a cloud provider). I have the Github actions code done from our previous set-up but can't figure out how to handle this with Terraform.

  • neon

    Neon: Serverless Postgres. We separated storage and compute to offer autoscaling, branching, and bottomless storage.

    An issue with their preview environments is that I couldn't define custom resources that existed outside of Render. In our case, we use a separate service for hosted Postgres that allows branching so our previews can contain production data and test migrations on. https://neon.tech.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts