rivet-gg / rivet

🔩 Open-source solution to deploy, scale, and operate your multiplayer game
https://rivet.gg
Apache License 2.0
1.91k stars 44 forks source link

Replace Bolt infra config with single Terraform plan with submodules #655

Open NathanFlurry opened 3 months ago

NathanFlurry commented 3 months ago

Motivation

The Bolt configurations are overcomplicated because you have to:

  1. Read config
  2. Init Terraform projects
  3. Populate variables
  4. Read output (which is often in a broken state)
  5. Pass this output to Rivet itself

The development environment will be hyper-simplified to use Docker Compose.

Implementation

Create a fresh Terraform plan with a simple set of input variables. Use native Terraform to configure & run this plan. This plan should be in a separate repo.

The current infra steps should be broken out in to Terraform modules for simplicity.

The namespace config will now be boiled to to only configs required in the Rivet runtime.

linear[bot] commented 3 months ago

RVT-3724 Replace Bolt infra config with standalone Terraform files with modules