Module 7 self-check

Module 7 self-check.

  • Coverage: 7a (lesson 7.1, lab Parts A–C, Q1–Q5), 7b (lesson 7.2, lab Part D, Q6–Q8), and 7c (lesson 7.3, lab Part E, Q9–Q10).
  • HCL: import blocks with to, id, and for_each match 1.7+ syntax. docker_network supports import by network ID. The for_each import ID comes from a variable, which is known at plan time.
  • Flagged uncertainty:
    • The identity argument for import blocks is described as new in 1.12 with limited provider support. Verify it in the 1.12 import block documentation before relying on it.
    • Generated-config cleanup is framed as iterative because the exact generated attributes depend on the provider version.
    • The post-import "No changes" result for docker_network assumes provider defaults match. The lab tells learners what to do if they don't.
  • Answers: rechecked against documented import, inspection, and logging behavior.