Compare Atlantis, HCP Terraform and a hand-built GitHub Actions pipeline.
IntermediateScenarioPipelines Terraform Cloud and OpenTofu
Answer
Situation read → Choosing the tooling for a growing team.
What I'd do →
- GitHub Actions or GitLab CI: flexible, free to start, but you build locking, comments, policy and drift detection yourself.
- Atlantis: self-hosted PR automation (
atlantis plan,atlantis apply) with locking per directory. - HCP Terraform: managed runs, state, RBAC, policy, drift detection and private registry.
Why → The trade-off is build effort and control versus subscription cost.
Interview tip → Say what you'd choose for a 5-person team and for a 200-person platform.
More on Pipelines Terraform Cloud and OpenTofu
Build a basic GitHub Actions pipeline: plan on pull request, apply on merge to main.BeginnerReviewers can't read raw plan logs. How do you present the plan in the PR?IntermediateTwo PRs merge close together and both apply to the same stack. What prevents trouble?IntermediateHow do you add a manual approval before prod applies?IntermediateA saved plan was approved yesterday and apply fails because main changed. How do you avoid dead approvals?IntermediateExplain HCP Terraform workflows: VCS-driven, CLI-driven and API-driven.Beginner