github.com/lamielle/terraform@v0.3.2-0.20141121070651-81f008ba53d5/website/source/docs/commands/init.html.markdown (about)

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