Skip to main content

10. Modules: authoring & consuming

Module structure, inputs/outputs, sources, versioning, the registry.

⏱ ≈ 30 min this module · 📚 ≈ 5.8 h full track

🔒 Unlock this course to read the material and run the labs.

See options to unlock →
🔒 The written material unlocks with the course.
🧪 Hands-on lab Hard · 180 XP · 30min

Goal

Write a small local module that creates one bucket, then consume it twice from the root module.

Requirements

  • A module at ./modules/bucket with a name input, an aws_s3_bucket resource, and an id output
  • The root calls it twice to create certland-labs-mod-a and certland-labs-mod-b

🔒 Unlock the course to run this lab.