BM: Baca dalam Bahasa Melayu
World T3: State & Teams Β· Boss challenge
Someone clicked
You will learn: to find the drift, import the stray and rename without rebuilding, on your own.
Checked with OpenTofu 1.13 on 1 Nov 2026
The problem
Boss: someone clicked! It was a busy weekend at Kedai Kancil. Tap each moment. Then fix all three surprises, with nothing rebuilt that was fine.
Tap each point on the timeline.
Try it
Surprise 1: the menu and the sign. The blueprint is right. Make the building match it again.
Blueprint (your .tf files)init done
local_file.menulocal_file.signrandom_pet.stall
Built (the state file)state #1
local_file.menulocal_file.signrandom_pet.stall
- name
- lucky-civet
Change a file, then run tofu plan to see what it means.
Hint
Plan first. It should want to add two things.Check
Next time, you only want to see what changed outside OpenTofu, and change nothing. Which command?
Pick one answer.
Try it
Surprise 2: the door code. The blueprint has the door, but OpenTofu would make a new code. Adopt KANCIL instead.
Blueprint (your .tf files)init done
local_file.menulocal_file.signrandom_pet.stallrandom_string.doornot built yet
Built (the state file)state #1
local_file.menulocal_file.signrandom_pet.stall
- name
- lucky-civet
Change a file, then run tofu plan to see what it means.
Hint
An import block has two lines:to and id.Check
A teammate pastes this plan in chat. Is it safe?
Tap the line that proves nothing gets destroyed.
0 of 1 found
Try it
Surprise 3: Benβs rename. The plan wants to destroy the stall and make a new one. Keep the name lucky-civet.
Blueprint (your .tf files)init done
local_file.menulocal_file.signrandom_pet.chefnot built yetrandom_string.door
Built (the state file)state #1
local_file.menulocal_file.signrandom_pet.stallrandom_string.door
- door
- KANCIL
- name
- lucky-civet
Change a file, then run tofu plan to see what it means.
Hint
A new name needs a moved block.Check
Your night-shift notes. Which tool fixes which surprise?
Drag a card into a box. Or tap the card, then tap the box.
You did it!
You can now hunt drift, adopt strays and refactor, all without rebuilding.
Bahasa Melayu
Boss: ada orang klik! Hujung minggu yang sibuk di Kedai Kancil. Tekan setiap detik. Kemudian baiki ketiga-tiga kejutan, tanpa bina semula apa yang sudah elok.
Kejutan 1: menu dan papan tanda. Pelan itu betul. Jadikan bangunan sepadan dengannya semula.
Lain kali, anda cuma mahu lihat apa yang berubah di luar OpenTofu, tanpa ubah apa-apa. Arahan mana?
Kejutan 2: kod pintu. Pelan ada pintu itu, tapi OpenTofu akan buat kod baharu. Ambil alih KANCIL sebaliknya.
to dan id.Seorang rakan tampal plan ini dalam chat. Selamatkah?
Kejutan 3: nama baharu Ben. Plan mahu musnahkan gerai dan buat yang baharu. Kekalkan nama lucky-civet.
Nota syif malam anda. Alat mana baiki kejutan mana?
Kini anda boleh buru drift, ambil alih yang tersasar dan refactor, semuanya tanpa bina semula.
You finished this before. Practice is always welcome!
Official docs: tofu plan (-refresh-only) Β· OpenTofu: import blocks Β· OpenTofu: moved blocks
You've learned for 25 minutes. A short break helps your brain.
Sprint done! Great focus. Stretch for a minute?