Modules in Terraform are self-contained packages of Terraform configurations that are managed as a group. Modules are used to create reusable components in Terraform as well as for basic code organization.
Modules are very easy to both use and create. Depending on what you're looking to do first, use the navigation on the left to dive into how modules work.
That is the current working directory when you run
terraform apply or
get, holding the Terraform configuration files.
It is itself a valid module.