github.com/loicalbertin/terraform@v0.6.15-0.20170626182346-8e2583055467/website/docs/backends/types/manta.html.md (about) 1 --- 2 layout: "backend-types" 3 page_title: "Backend Type: manta" 4 sidebar_current: "docs-backends-types-standard-manta" 5 description: |- 6 Terraform can store state in manta. 7 --- 8 9 # manta 10 11 **Kind: Standard (with no locking)** 12 13 Stores the state as an artifact in [Manta](https://www.joyent.com/manta). 14 15 ## Example Configuration 16 17 ```hcl 18 terraform { 19 backend "manta" { 20 path = "random/path" 21 objectName = "terraform.tfstate" 22 } 23 } 24 ``` 25 26 Note that for the access credentials we recommend using a 27 [partial configuration](/docs/backends/config.html). 28 29 ## Example Referencing 30 31 ```hcl 32 data "terraform_remote_state" "foo" { 33 backend = "manta" 34 config { 35 path = "random/path" 36 objectName = "terraform.tfstate" 37 } 38 } 39 ``` 40 41 ## Configuration variables 42 43 The following configuration options are supported: 44 45 * `path` - (Required) The path relative to your private storage directory (`/$MANTA_USER/stor`) where the state file will be stored 46 * `objectName` - (Optional) The name of the state file (defaults to `terraform.tfstate`) 47 48 The following [Manta environment variables](https://apidocs.joyent.com/manta/#setting-up-your-environment) are supported: 49 50 * `MANTA_URL` - (Required) The API endpoint 51 * `MANTA_USER` - (Required) The Manta user 52 * `MANTA_KEY_ID` - (Required) The MD5 fingerprint of your SSH key 53 * `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.