Terraform

What makes a Terraform code module? In other words, what a module is from practical perspective?

Difficulty: unrated

Source: bregman-arie/devops-exercises by Arie Bregman

Answer

Basically any file or files in a directory is a module in Terraform. There is no special syntax to use in order to define a module. The root configuration is itself a module, and any module that is called from it is considered a child module.