mirror of
https://github.com/opentffoundation/opentf.git
synced 2026-04-10 12:01:48 -04:00
During the language/CLI docs reorg, we noticed several pages that were no longer viable; some were redundant, some useless, and some just very obsolete. Since we were trying to avoid breaking links at the time, we opted to remove them from the navs and leave them as "ghost pages" — still accessible, but not findable. This commit finally cleans these ghosts up and updates any remaining links to relevant modern pages. Bustin' makes me feel good. 👻🚫
2.5 KiB
2.5 KiB
layout, page_title, sidebar_current, description
| layout | page_title | sidebar_current | description |
|---|---|---|---|
| language | Backend Type: manta | docs-backends-types-standard-manta | Terraform can store state in manta. |
manta
Kind: Standard (with locking within Manta)
Stores the state as an artifact in Manta.
Example Configuration
terraform {
backend "manta" {
path = "random/path"
object_name = "terraform.tfstate"
}
}
Note that for the access credentials we recommend using a partial configuration.
Data Source Configuration
data "terraform_remote_state" "foo" {
backend = "manta"
config = {
path = "random/path"
object_name = "terraform.tfstate"
}
}
Configuration variables
The following configuration options are supported:
account- (Required) This is the name of the Manta account. It can also be provided via theSDC_ACCOUNTorTRITON_ACCOUNTenvironment variables.user- (Optional) The username of the Triton account used to authenticate with the Triton API. It can also be provided via theSDC_USERorTRITON_USERenvironment variables.url- (Optional) The Manta API Endpoint. It can also be provided via theMANTA_URLenvironment variable. Defaults tohttps://us-east.manta.joyent.com.key_material- (Optional) This is the private key of an SSH key associated with the Triton account to be used. If this is not set, the private key corresponding to the fingerprint in key_id must be available via an SSH Agent. Can be set via theSDC_KEY_MATERIALorTRITON_KEY_MATERIALenvironment variables.key_id- (Required) This is the fingerprint of the public key matching the key specified in key_path. It can be obtained via the command ssh-keygen -l -E md5 -f /path/to/key. Can be set via theSDC_KEY_IDorTRITON_KEY_IDenvironment variables.insecure_skip_tls_verify- (Optional) This allows skipping TLS verification of the Triton endpoint. It is useful when connecting to a temporary Triton installation such as Cloud-On-A-Laptop which does not generally use a certificate signed by a trusted root CA. Defaults tofalse.path- (Required) The path relative to your private storage directory (/$MANTA_USER/stor) where the state file will be stored. Please Note: If this path does not exist, then the backend will create this folder location as part of backend creation.object_name- (Optional) The name of the state file (defaults toterraform.tfstate)