GitHub CI Review
We use GitHub Actions to set up CI with Terraspace. The workflow we used was:
- Pull Request: Shows previews of changes using
terraspace plan
- Push: Automatically updates the infrastructure using
terraspace up
onTS_ENV=dev
- Workflow Dispatch: We use to review the changes again and apply to
TS_ENV=prod
We also configured Terraspace Cloud for the additional features like PR 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 workflow is only one of many possibilities. You have full control over the workflow and can adjust it to your needs. You can run terraspace up
multiple times or use terraspace all
.