Where does Terraform sit relative to GitOps tools like Argo CD?
IntermediateScenarioPipelines Terraform Cloud and OpenTofu
Answer
Situation read → Teams blur the boundary between infrastructure and application delivery.
What I'd do →
- Terraform: cloud infrastructure (VPC, EKS, IAM, databases, DNS) and cluster bootstrap including installing Argo CD.
- Argo CD: everything that runs inside the cluster, reconciled continuously from Git.
- Share values through outputs, SSM or annotations on service accounts.
Why → Terraform is plan/apply on demand and weak at continuous reconciliation; GitOps controllers are strong at it.
Interview tip → Avoid managing app Helm releases in Terraform for fast-moving services.
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?IntermediateCompare Atlantis, HCP Terraform and a hand-built GitHub Actions pipeline.IntermediateA saved plan was approved yesterday and apply fails because main changed. How do you avoid dead approvals?Intermediate