github.com/muratcelep/terraform@v1.1.0-beta2-not-internal-4/website/docs/cli/commands/state/pull.html.md (about)

     1  ---
     2  layout: "docs"
     3  page_title: "Command: state pull"
     4  sidebar_current: "docs-commands-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/language/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, upgrade the
    20  local copy to the latest state file version that is compatible with
    21  locally-installed Terraform, and output the raw format to stdout.
    22  
    23  This is useful for reading values out of state (potentially pairing this
    24  command with something like [jq](https://stedolan.github.io/jq/)). It is
    25  also useful if you need to make manual modifications to state.
    26  
    27  ~> Note: This command cannot be used to inspect the Terraform version of
    28  the remote state, as it will always be converted to the current Terraform
    29  version before output.