Terraform & IaC
Providers and version locking
Why a pipeline that passed for three months can start changing 14 resources on a Monday, and the two files that stop it.
What is in the lesson
- A real situation where this goes wrong
- How it works, step by step
- A walkthrough with commands you can run
- How it fails in production, and how to tell
- Three quiz questions with explanations
Read this lessonFree. No account needed.
More in Terraform & IaC
- Lifecycle ignore_changesBeginner · 4 min
Lifecycle ignore_changes suppresses plans for selected attribute drift.
- create_before_destroyBeginner · 4 min
create_before_destroy requests replacement creation before deletion.
- Modules: reuse without copy-pasteBeginner · 5 min
Fourteen log buckets across five repos, three different encryption settings, and an audit question nobody can answer. A module turns that into one definition.
- Terraform workspaceBeginner · 4 min
Terraform workspace separates multiple state instances.
- Data sourcesBeginner · 5 min
Data sources read existing infrastructure for configuration.
- Reading a plan: create, change, destroy and replaceBeginner · 5 min
The summary line of a plan counts replacements twice. How to read every symbol, find the attribute that forced a replacement, and spot drift.