Undo Manual Changes (Drift)

easy 10 XP ~5 minHands-on lab

This machine has OpenTofu, the open-source tool that reads the same configuration language as Terraform. Run it as tofu (terraform runs the same program). There is no network: the local, random and null providers are already installed.

The files managed by /home/student/infra/beacon were "fixed" by hand during an incident: one was edited and one was deleted. The code is the source of truth.

Task

  • Make the files match the configuration again.
  • A new plan must report no changes.
  • Do not change the configuration.

About this machine

Ubuntu 24.04 with no internet access. You are student with passwordless sudo. The grader checks the final state of the machine, not the commands you typed. Values like names and ports are generated for you.

TerminalNot started

Your machine is ready to start

Create a free account to open a machine and get graded.