~/talk

Terraform Config Drift How to Handle Out of Band Infrastructure Changes

Talkat HashiTalks 2022 · 2022-02-17..02-18· [devops-and-delivery]
slides:none on file

Explains exactly how Terraform detects and reacts to out‑of‑band changes: Terraform refreshes state against providers, treats managed vs non-managed resources differently, reverts attributes that are explicitly set (or have defaults), and only notifies about attributes with no configured value. Shows CLI behavior: terraform plan/apply, plan file override still applies saved changes (with a state-version sanity check), and terraform apply -refresh-only updates state without changing infrastructure. Provides a decision flowchart and practical remediation steps.

AI-written summary · about

  1. 0:00Introduction to Terraform drift
  2. 4:00How Terraform works
  3. 13:01Managed vs non-managed resources
  4. 15:32Managed attribute changes
  5. 18:03Non-managed attribute changes
  6. 20:48Plan file changes
  7. 23:40Summary and best practices
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.