github.com/chalford/terraform@v0.3.7-0.20150113080010-a78c69a8c81f/website/source/docs/commands/push.html.markdown (about) 1 --- 2 layout: "docs" 3 page_title: "Command: push" 4 sidebar_current: "docs-commands-push" 5 description: |- 6 The `terraform push` command is used to push a cached local copy 7 of the state to a remote storage server. 8 --- 9 10 # Command: push 11 12 The `terraform push` uploads the cached state file to the 13 remote server when remote state storage is enabled. The [`remote` 14 command](/docs/commands/remote.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 push` 24 25 The `push` command is invoked without options to upload the 26 local cached state to the remote storage server. 27