Bitbucket CI Review

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

  1. Pull 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 custom pipeline to review the changes again and apply to TS_ENV=prod

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 full control over the pipeline and can adjust it to your needs. You can run terraspace up multiple times or use terraspace all.

More tools: