Learn Everything

Paths/DevOps Engineer/Terraform / Destroy

Practice Taskbeginnerterraform 1.7Ask AI

Destroy It All

The most underrated Terraform command. Destroy everything the module created and confirm the state is empty — the same reflex that keeps cloud bills at zero.

Validator

⏱ 0:00

IDLE — checks run live as you type commands; submit when done

01Requirements

live checks
  • Terraform state in ~/infra is empty○

02Walkthrough

1 of 8 revealed
  1. 01

    Create the module directory

    Every lab starts from a fresh shell — build the module root first.

    mkdir ~/infra
  2. 7 locked · each failed submit reveals one

03Stuck?

0 of 3 revealed

Take a hint without losing the lab — each one points at the thing to look at, not at the answer.

04AI Tutor

guides, never solves

Tell me what you're stuck on — I'll nudge, not solve. Which requirement are you looking at?

04Notebook

saved locally in this browser

learner@lab — terraform 1.7

↑/↓ recalls commands · Ctrl+Enter submits · type help for the command list