github.com/wikibal01/hashicorp-terraform@v0.11.12-beta1/website/docs/modules/index.html.markdown (about)

     1  ---
     2  layout: "docs"
     3  page_title: "Modules"
     4  sidebar_current: "docs-modules"
     5  description: |-
     6    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.
     7  ---
     8  
     9  # Modules
    10  
    11  Modules in Terraform are self-contained packages of Terraform configurations
    12  that are managed as a group. Modules are used to create reusable components
    13  in Terraform as well as for basic code organization.
    14  
    15  Modules are very easy to both use and create. Depending on what you're
    16  looking to do first, use the navigation on the left to dive into how
    17  modules work.
    18  
    19  ## Definitions
    20  **Root module**
    21  That is the current working directory when you run [`terraform apply`](/docs/commands/apply.html) or [`get`](/docs/commands/get.html), holding the Terraform [configuration files](/docs/configuration/index.html).
    22  It is itself a valid module.