Docker and CI/CD · Senior · Question 50 of 75
Why post terraform plan output on infrastructure PRs?
- 1Terraform refuses to apply without a PR comment
- 2Plan output updates the infrastructure immediately
- ✓Correct answer: Reviewers see the exact resources that will change
Explanation
A one-line change can replace a database. Seeing "destroy and recreate" before merging prevents surprises; apply then runs from the reviewed plan.