Interview Prep/Terraform/Pipelines Terraform Cloud and OpenTofu

Reviewers can't read raw plan logs. How do you present the plan in the PR?

IntermediateScenarioPipelines Terraform Cloud and OpenTofu
Answer

Situation read → Review quality drops when diffs are hard to find.

What I'd do →

  1. Run terraform show -no-color tfplan and post it as a PR comment (collapsed, truncated).
  2. Add a short summary from terraform show -json (counts of create/update/delete).
  3. Use Atlantis, Spacelift, HCP Terraform or an action that updates one sticky comment per PR.

Why → Reviewers approve what they can see; a destroy count in the summary is the number they care about.

Interview tip → Redact sensitive values and avoid posting secrets in PR comments.

All Terraform questions Roadmap: Terraform in production

More on Pipelines Terraform Cloud and OpenTofu