github.com/xsb/terraform@v0.6.13-0.20160314145438-fe415c2f09d7/website/source/docs/state/remote/swift.html.md (about)

     1  ---
     2  layout: "remotestate"
     3  page_title: "Remote State Backend: swift"
     4  sidebar_current: "docs-state-remote-swift"
     5  description: |-
     6    Terraform can store the state remotely, making it easier to version and work with in a team.
     7  ---
     8  
     9  # swift
    10  
    11  Stores the state as an artifact in [Swift](http://docs.openstack.org/developer/swift/).
    12  
    13  ## Example Usage
    14  
    15  ```
    16  terraform remote config \
    17  	-backend=swift \
    18  	-backend-config="path=random/path"
    19  ```
    20  
    21  ## Example Referencing
    22  
    23  ```
    24  resource "terraform_remote_state" "foo" {
    25  	backend = "swift"
    26  	config {
    27  		path = "random/path"
    28  	}
    29  }
    30  ```
    31  
    32  ## Configuration variables
    33  
    34  The following configuration option is supported:
    35  
    36   * `path` - (Required) The path where to store `terraform.tfstate`
    37  
    38  The following environment variables are supported:
    39  
    40   * `OS_AUTH_URL` - (Required) The identity endpoint
    41   * `OS_USERNAME` - (Required) The username
    42   * `OS_PASSWORD` - (Required) The password
    43   * `OS_REGION_NAME` - (Required) The region
    44   * `OS_TENANT_NAME` - (Required) The name of the tenant