Infrastructure · Flashcard
Every Terraform configuration already contains one module. Which?
Why this is the answer
The working directory is the root module, and every module block it contains adds a child module; that is why 'module' is a directory of .tf files rather than a special construct. File names such as main.tf are pure convention — Terraform loads every .tf file in the directory.
Read more in the docs