github.com/bengesoff/terraform@v0.3.1-0.20141018223233-b25a53629922/website/source/docs/commands/get.html.markdown (about)

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