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

     1  ---
     2  layout: "docs"
     3  page_title: "Command: init"
     4  sidebar_current: "docs-commands-init"
     5  ---
     6  
     7  # Command: init
     8  
     9  The `terraform init` command is used to initialize a Terraform configuration
    10  using another
    11  [module](/docs/modules/index.html)
    12  as a skeleton.
    13  
    14  ## Usage
    15  
    16  Usage: `terraform init [options] SOURCE [DIR]`
    17  
    18  Init will download the module from SOURCE and copy it into the DIR
    19  (which defaults to the current working directory). Version control
    20  information from the module (such as Git history) will not be copied.
    21  
    22  The directory being initialized must be empty of all Terraform configurations.
    23  If the module has other files which conflict with what is already in the
    24  directory, they _will be overwritten_.