StaffCoder
Terraform
TerraformTerraform 1.15Linux CLI
21 modules · 84 challengesSign up
Modules21 modules · 84 challenges
Work with workspaces and environment files to run one configuration as several isolated environments with environment-aware names. Finish by deploying one codebase to every environment without cross-environment damage.
Finish every challenge, or complete the star challenge, to complete the module.

Challenges

4 challenges

Many States, One Configuration

Sign up to unlock
—No data yetmedium
About this challenge

Standing up a second environment currently means copying the whole configuration directory and praying the copies never touch the same infrastructure.

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

Workspace-Aware Naming

Sign up to unlock
—No data yetmedium
About this challenge

Two environments built from the same configuration just fought over the same resource names at the shared endpoint.

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

Environment Files Instead

Sign up to unlock
—No data yetmedium
About this challenge

The team debates two ways to express environments - built-in workspaces versus explicit per-environment variable files - and needs the second wired up to judge the trade.

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

One Codebase, Every Environment

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

Three environments - developer sandbox, staging, production - must run from one codebase with zero copied directories: fully isolated state, collision-proof naming at the shared endpoint, per-environment sizing, and a deliberate split of technique - workspaces where the team chose them, explicit environment files where it didn't - all provably incapable of cross-environment damage.

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.