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

     1  ---
     2  layout: "docs"
     3  page_title: "Command: output"
     4  sidebar_current: "docs-commands-output"
     5  ---
     6  
     7  # Command: output
     8  
     9  The `terraform output` command is used to extract the value of
    10  an output variable from the state file.
    11  
    12  ## Usage
    13  
    14  Usage: `terraform output [options] NAME`
    15  
    16  By default, `plan` requires only a variable name and looks in the
    17  current directory for the state file to query.
    18  
    19  The command-line flags are all optional. The list of available flags are:
    20  
    21  * `-state=path` - Path to the state file. Defaults to "terraform.tfstate".
    22