30/32
Sign inSign up free

1118. Tag Everything, Once

easy 10 XP ~10 minHands-on lab

Finance splits the AWS bill by tag, and the resources in ~/infra/audit-log are a mess: some have Env, some env, one has nothing. The tagging policy is:

TagValue
envprod
cost-centercc-6189
managed-byopentofu

Task

  • Every resource in the config carries exactly these three tags in AWS, plus a Name where it already has one. The old Env tag is gone.
  • The three policy tags are set once for the whole configuration, so a resource added later gets them without anyone remembering.
  • tofu plan reports no changes.

This machine has an AWS-style account (an emulator: nothing is billed). tofu and the aws CLI are both signed in as the account's administrator.

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.

Teaching or writing about this? Embed this lab on your page

TerminalNot started

Your machine is ready to start

A fresh, isolated Ubuntu machine boots in a few seconds with the task already set up.

No account needed: 3 of 3 free tries left. Guest machines last 30 minutes.