github.com/turtlemonvh/terraform@v0.6.9-0.20151204001754-8e40b6b855e8/website/source/docs/commands/remote-push.html.markdown (about)

     1  ---
     2  layout: "docs"
     3  page_title: "Command: remote push"
     4  sidebar_current: "docs-commands-remote-push"
     5  description: |-
     6    The `terraform remote push` command is used to push a cached local copy
     7    of the state to a remote storage server.
     8  ---
     9  
    10  # Command: remote push
    11  
    12  The `terraform remote push` uploads the cached state file to the
    13  remote server when remote state storage is enabled. The [`remote config`
    14  command](/docs/commands/remote-config.html) should be used to enable
    15  remote state storage.
    16  
    17  Uploading is typically done automatically when running a Terraform
    18  command that modifies state, but this can be used to retry uploads
    19  if a transient failure occurs.
    20  
    21  ## Usage
    22  
    23  Usage: `terraform remote push`
    24  
    25  The `remote push` command is invoked without options to upload the
    26  local cached state to the remote storage server.
    27