So far, we looked at Terraform, Terraform Cloud, and GitHub Actions working in tandem. In this chapter, we’ll work on establishing a complete workflow involving multiple branches (staging and main) and a peer review process using GitHub Pull Requests. Without this complete workflow, the GitOps process is incomplete as we need to know at every commit what infrastructure changes are happening. We need to review every PR (Pull Request) that clearly describes the terraform plan to show what changes are being proposed as part of that PR.
6. Practical GitOps
Get Practical GitOps: Infrastructure Management Using Terraform, AWS, and GitHub Actions now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.