GitLab CI Review

Note: Premium video content requires a subscription.

We use GitLab Pipelines to set up CI with Terraspace. The workflow we used was:

  1. Merge Request: Shows previews of changes using terraspace plan
  2. Push or Branch: Automatically updates the infrastructure using terraspace up on TS_ENV=dev
  3. Manual Web: We used a manually trigger web pipeline to review the changes again and apply to TS_ENV=prod

We also configured Terraspace Cloud for the additional features like MR comments that link to the Terraspace Cloud plans, updates, and logs.

Terraspace Cloud also provides links with the plan or update history. This makes it easy to see infrastructure change history.

This pipeline is only one of many possibilities. You have complete control over the pipeline and can adjust it to your needs. You can run terraspace up multiple times or use terraspace all.

More tools: