StaffCoder
Terraform
TerraformTerraform 1.15Linux CLI
21 modules · 84 challengesSign up
Modules21 modules · 84 challenges
Work with the S3 backend to move state off the laptop, lock out concurrent runs, and configure and relocate backends at init. Finish by building a shared state platform a team can use safely.
Finish every challenge, or complete the star challenge, to complete the module.

Challenges

4 challenges

State Off the Laptop

Sign up to unlock
—No data yetmedium
About this challenge

The only copy of the team's state lives on one laptop; every teammate applying from their machine spawns a fresh, conflicting universe.

Solved in a browser IDE and graded by tests. Sign up to solve

Locking Out Collisions

Sign up to unlock
—No data yetmedium
About this challenge

Two applies ran at once and the state came out mangled; the team needs concurrent runs to be impossible - and a way out when a crash leaves the door locked.

Solved in a browser IDE and graded by tests. Sign up to solve

Partial and Relocated Backends

Sign up to unlock
—No data yetmedium
About this challenge

The backend's bucket and key are hardcoded in versioned files - wrong for every environment - and moving state to a new home keeps being done by hand-copying files.

Solved in a browser IDE and graded by tests. Sign up to solve

Team State Platform

STAR
Solving it completes the module
—No data yetmedium
About this challenge

State must become team infrastructure overnight: off every laptop into shared storage, safe under concurrent hands, its location injected per environment rather than versioned, and the whole arrangement rehearsed for the day state must move homes - with nothing lost and nobody able to corrupt it mid-move.

Solved in a browser IDE and graded by tests. Sign up to solve

We use cookies that are necessary to run Staffcoder, and optional analytics cookies to see which pages get used. Analytics stays off unless you accept. Read our Cookie Policy.