StaffCoder
Terraform
TerraformTerraform 1.15Linux CLI
21 modules · 84 challengesSign up
Modules21 modules · 84 challenges
Work with sensitive values, Secrets Manager and ephemeral resources to keep credentials out of output, logs and state. Finish by building a stack whose state file holds no secrets.
Finish every challenge, or complete the star challenge, to complete the module.

Challenges

4 challenges

Sensitive In, Redacted Out

Sign up to unlock
—No data yethard
About this challenge

Credentials fed to the configuration are echoing through plans, logs, and outputs for anyone to read.

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

Secrets From the Manager

Sign up to unlock
—No data yethard
About this challenge

The database password is a literal in a tfvars file that has been on three laptops and one wiki page.

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

Ephemeral Handling

Sign up to unlock
—No data yethard
About this challenge

Even 'handled' secrets are being written into the state file itself, turning every state backup into a credentials dump.

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

Secretless State

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

An estate must handle credentials end to end with one hard rule: the persisted state and every human-readable surface stay free of secret material.

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.