Interview Prep/Terraform/Import Refactoring Drift and Lifecycle

When is `ignore_changes = all` appropriate?

BeginnerScenarioImport Refactoring Drift and Lifecycle
Answer

Situation read → A teammate wants it to silence a noisy plan.

What I'd do →

  1. Refuse as a default; list the specific attributes instead.
  2. Accept it only for resources that are intentionally "create once, then someone else manages it", with a comment explaining who.

Why → all turns Terraform off for that resource: drift, upgrades and security fixes never apply.

Interview tip → If you need all, ask if Terraform should manage it at all.

All Terraform questions Roadmap: Terraform in production

More on Import Refactoring Drift and Lifecycle