github.com/erriapo/terraform@v0.6.12-0.20160203182612-0340ea72354f/website/source/docs/state/remote/etcd.html.md (about)

     1  ---
     2  layout: "remotestate"
     3  page_title: "Remote State Backend: etcd"
     4  sidebar_current: "docs-state-remote-etcd"
     5  description: |-
     6    Terraform can store the state remotely, making it easier to version and work with in a team.
     7  ---
     8  
     9  # etcd
    10  
    11  Stores the state in [etcd](https://coreos.com/etcd/) at a given path.
    12  
    13  ## Example Usage
    14  
    15  ```
    16  terraform remote config \
    17  	-backend=etcd \
    18  	-backend-config="path=path/to/terraform.tfstate" \
    19  	-backend-config="endpoints=http://one:4001 http://two:4001"
    20  ```
    21  
    22  ## Example Referencing
    23  
    24  ```
    25  resource "terraform_remote_state" "foo" {
    26  	backend = "etcd"
    27  	config {
    28  		path = "path/to/terraform.tfstate"
    29  		endpoints = "http://one:4001 http://two:4001"
    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
    39   * `endpoints` - (Required) A space-separated list of the etcd endpoints
    40   * `username` - (Optional) The username
    41   * `password` - (Optional) The password