StaffCoder
Terraform
TerraformTerraform 1.15Linux CLI
21 modules · 84 challengesSign up
Modules21 modules · 84 challenges
Work with data sources and expressions to read existing infrastructure, reshape values with functions and conditionals, and transform collections with for expressions and splats. Finish by building a configuration that discovers what it needs instead of hard-coding it.
Finish every challenge, or complete the star challenge, to complete the module.

Challenges

4 challenges

Read Before You Write

Sign up to unlock
—No data yeteasy
About this challenge

Look up pre-existing AWS infrastructure with data sources by name and by filter and feed the discovered attributes into managed resources.

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

Expression Toolkit

Sign up to unlock
—No data yeteasy
About this challenge

Reshape awkward inputs with built-in functions, a per-environment conditional and a try fallback, and confirm the results in the Terraform console.

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

For Expressions and Splats

Sign up to unlock
—No data yeteasy
About this challenge

Reshape a list of service records into ordered lists, a keyed map, a filtered list and a splat-extracted attribute list, published as outputs.

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

Discovery-Driven Configuration

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

Build a configuration that discovers existing network and storage by name and filter, reshapes awkward inputs with functions, conditionals, try guards, for expressions and splats, and publishes every derived value as outputs.

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.