From 238beaea33aef2d268d7ef29bd456f227c0e3f82 Mon Sep 17 00:00:00 2001 From: Dominik-K Date: Thu, 27 Apr 2017 12:27:16 +0200 Subject: [PATCH] Docs: `dir` flag in `get` cmd -> root module def. in `modules/index.html` (#13940) --- website/source/docs/commands/get.html.markdown | 3 ++- website/source/docs/modules/index.html.markdown | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/website/source/docs/commands/get.html.markdown b/website/source/docs/commands/get.html.markdown index 4666626cb8..a7eb32ad66 100644 --- a/website/source/docs/commands/get.html.markdown +++ b/website/source/docs/commands/get.html.markdown @@ -9,7 +9,7 @@ description: |- # Command: get The `terraform get` command is used to download and update -[modules](/docs/modules/index.html). +[modules](/docs/modules/index.html) mentioned in the root module. ## Usage @@ -28,3 +28,4 @@ The command-line flags are all optional. The list of available flags are: * `-update` - If specified, modules that are already downloaded will be checked for updates and the updates will be downloaded if present. +* `dir` - Sets the path of the [root module](/docs/modules/index.html#definitions). diff --git a/website/source/docs/modules/index.html.markdown b/website/source/docs/modules/index.html.markdown index cacccf8471..96db650435 100644 --- a/website/source/docs/modules/index.html.markdown +++ b/website/source/docs/modules/index.html.markdown @@ -15,3 +15,8 @@ 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.