github.com/turtlemonvh/terraform@v0.6.9-0.20151204001754-8e40b6b855e8/website/source/docs/commands/get.html.markdown (about)

     1  ---
     2  layout: "docs"
     3  page_title: "Command: get"
     4  sidebar_current: "docs-commands-get"
     5  description: |-
     6    The `terraform get` command is used to download and update modules.
     7  ---
     8  
     9  # Command: get
    10  
    11  The `terraform get` command is used to download and update
    12  [modules](/docs/modules/index.html).
    13  
    14  ## Usage
    15  
    16  Usage: `terraform get [options] [dir]`
    17  
    18  The modules are downloaded into a local `.terraform` folder. This
    19  folder should not be committed to version control.
    20  
    21  If a module is already downloaded and the `-update` flag is _not_ set,
    22  Terraform will do nothing. As a result, it is safe (and fast) to run this
    23  command multiple times.
    24  
    25  The command-line flags are all optional. The list of available flags are:
    26  
    27  * `-update` - If specified, modules that are already downloaded will be
    28     checked for updates and the updates will be downloaded if present.