9  Pull request review checklist

Use this checklist when reviewing a Terraform pull request. You do not need to work through it in order — use it to make sure you have not missed anything.

Not every item applies to every PR. Use your judgement about what is relevant to the change in front of you.

9.1 Before you start

9.2 Code structure and quality

9.3 Security

9.4 Lifecycle and state

9.5 Modules

9.6 Documentation

9.7 Environment-specific checks

Sandbox (01_sandbox/)

Non-production (02_dev_nonprod/)

Pre-production (03_stg_prod/)

Production (04_prd_prod/)

9.8 Approval

A PR is ready to merge when:

  1. All required CI checks pass
  2. At least one reviewer has approved
  3. All unresolved review comments have been addressed
  4. No items in this checklist are outstanding without a clear justification

Do not approve a production PR if you have outstanding doubts about what the plan will do. Approve once you are confident, or escalate if you are not.