terraform/website/docs/modules/index.html.markdown

23 lines
947 B
Markdown
Raw Normal View History

2014-09-26 23:23:38 +02:00
---
layout: "docs"
page_title: "Modules"
sidebar_current: "docs-modules"
2014-10-22 05:21:56 +02:00
description: |-
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.
2014-09-26 23:23:38 +02:00
---
# Modules
Modules in Terraform are self-contained packages of Terraform configurations
2014-09-26 23:23:38 +02:00
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.
## Definitions
**Root module**
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).
It is itself a valid module.