Skill · Provisioning · Provision as code with Terraform
Inspect and repair a Terraform state, move or remove resources without recreating them
Inspect the state, then rename, move or stop managing a resource without recreating it, with state mv, moved, state rm and removed.
Start lesson 1The Provisioning domain
- 6 lessons
- ~6 h 15 of reading
- 1 quiz
- 1 proof lab
Lessons
How to learn it
6 lessons, about ~6 h 15, in program order. Each lesson ends with its quiz.
The program
6 lessons · ~6 h 15
- 1terraform state list (in French)· 60 min
- 2terraform state show (in French)· 55 min
- 3terraform state mv (in French)· 55 min
- 4terraform state rm (in French)· 55 min
- 5Le bloc removed (in French)· 70 min
- 6Diagnostiquer le state (in French)· 80 min
Beyond the lessons
Assess, practise, pass the proof
Reading a lesson confirms nothing. A skill is confirmed by a passed quiz, practised in a guided lab, and put to the test by a challenge or a mission; an imported lab result is not verified by the site.
Assess yourself
1 quiz
At the end of the lessons: passed at 70%, it confirms the skill.
Practice
6 guided labs
- Diagnose a drift and adopt an orphan resource, without losing its value
- The removed block: bequeath an infrastructure without destroying it
- terraform state list, the address is the identity
- terraform state mv and the moved block, refactor without destroying
- terraform state rm and the removed block, stop managing without destroying
- terraform state show, and what the summary hides
Proof
1 practical proof
A practical proof is a challenge, a capstone or a declared lab.
Apply it on real infrastructure
Hands-on lessons: their labs count as practice and their quizzes assess you, without being required to acquire it.
Placement test
Preparing the questions…
Your answers in detail
For each question asked: your answer, the correct answer, its explanation and the page to reread.
Around it
Who requires it, who teaches it
Required by
Taught by
Same block · Provision as code with Terraform
- Initialise, run and troubleshoot a Terraform project, from init to destroy
- Declare Terraform resources and data sources with pinned providers
- Parameterize a Terraform project and expose its results without duplicating values
- Generate Terraform resources in a controlled way with expressions, functions, count and for_each
- Control the ordering, replacement and guardrails of Terraform resources
- Handle sensitive data in Terraform without exposing it in outputs or state
- Share a remote, locked and recoverable Terraform state
- Organize several environments and a Terraform repository without dangerous coupling
- Run Terraform non-interactively in a pipeline, with guardrails
- Design, structure and test a reusable Terraform module
- Consume and version Terraform modules reproducibly