github.com/minamijoyo/terraform@v0.7.8-0.20161029001309-18b3736ba44b/website/source/docs/state/remote/manta.html.md (about) 1 --- 2 layout: "remotestate" 3 page_title: "Remote State Backend: manta" 4 sidebar_current: "docs-state-remote-manta" 5 description: |- 6 Terraform can store the state remotely, making it easier to version and work with in a team. 7 --- 8 9 # manta 10 11 Stores the state as an artifact in [Manta](https://www.joyent.com/manta). 12 13 ## Example Usage 14 15 ``` 16 terraform remote config \ 17 -backend=manta \ 18 -backend-config="path=random/path" \ 19 -backend-config="objecName=terraform.tfstate" 20 ``` 21 22 ## Example Referencing 23 24 ``` 25 data "terraform_remote_state" "foo" { 26 backend = "manta" 27 config { 28 path = "random/path" 29 objectName = "terraform.tfstate" 30 } 31 } 32 ``` 33 34 ## Configuration variables 35 36 The following configuration options are supported: 37 38 * `path` - (Required) The path where to store the state file 39 * `objectName` - (Optional) The name of the state file (defaults to `terraform.tfstate`) 40 41 The following [Manta environment variables](https://apidocs.joyent.com/manta/#setting-up-your-environment) are supported: 42 43 * `MANTA_URL` - (Required) The API endpoint 44 * `MANTA_USER` - (Required) The Manta user 45 * `MANTA_KEY_ID` - (Required) The MD5 fingerprint of your SSH key 46 * `MANTA_KEY_MATERIAL` - (Required) The path to the private key for accessing Manta (must align with the `MANTA_KEY_ID`). This key must *not* be protected by passphrase.