github.com/wikibal01/hashicorp-terraform@v0.11.12-beta1/website/docs/commands/state/pull.html.md (about)

     1  ---
     2  layout: "commands-state"
     3  page_title: "Command: state pull"
     4  sidebar_current: "docs-state-sub-pull"
     5  description: |-
     6    The `terraform state pull` command is used to manually download and output the state from remote state.
     7  ---
     8  
     9  # Command: state pull
    10  
    11  The `terraform state pull` command is used to manually download and output
    12  the state from [remote state](/docs/state/remote.html). This command also
    13  works with local state.
    14  
    15  ## Usage
    16  
    17  Usage: `terraform state pull`
    18  
    19  This command will download the state from its current location and
    20  output the raw format to stdout.
    21  
    22  This is useful for reading values out of state (potentially pairing this
    23  command with something like [jq](https://stedolan.github.io/jq/)). It is
    24  also useful if you need to make manual modifications to state.