Bitbucket CI Review
We use Bitbucket Pipelines to set up CI with Terraspace. The workflow we used was:
- Pull Request: Shows previews of changes using
terraspace plan
- Push or Branch: Automatically updates the infrastructure using
terraspace up
onTS_ENV=dev
- Manual Web: We used a manually trigger custom pipeline to review the changes again and apply to
TS_ENV=prod
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
.