Provisioning

Infrastructure as code

We are able to manage and provision our entire infrastructure as code. To accomplish this we use a tool called Terraform. Reading their documentation is a great way to familiarizing yourself with how Terraform works.

Our infrastructure code can be found in the HelixSleep/stratasphere-infrastructure Github repository.

How to make changes

Terraform in itself is a CLI tool that you run locally to make changes to our infrastructure. This is a problem as the state of our infrastructure is then located on one person's machine. So we have centralized this by utilizing Terraform Cloud.

How you'd go about make a change is you would first write the necessary changes to the repository, commit the changes, and push it up. Terraform Cloud will then see those changes and make a plan for how those changes would affect the infrastructure, and you can then apply them if you're happy with the plan.

Last updated

Was this helpful?