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

     1  ---
     2  layout: "remotestate"
     3  page_title: "Remote State Backend: http"
     4  sidebar_current: "docs-state-remote-http"
     5  description: |-
     6    Terraform can store the state remotely, making it easier to version and work with in a team.
     7  ---
     8  
     9  # http
    10  
    11  Stores the state using a simple [REST](https://en.wikipedia.org/wiki/Representational_state_transfer) client.
    12  
    13  State will be fetched via GET, updated via POST, and purged with DELETE.
    14  
    15  ## Example Usage
    16  
    17  ```
    18  terraform remote config \
    19  	-backend=http \
    20  	-backend-config="address=http://my.rest.api.com"
    21  ```
    22  
    23  ## Example Referencing
    24  
    25  ```
    26  resource "terraform_remote_state" "foo" {
    27  	backend = "http"
    28  	config {
    29  		address = "http://my.rest.api.com"
    30  	}
    31  }
    32  ```
    33  
    34  ## Configuration variables
    35  
    36  The following configuration options are supported:
    37  
    38   * `address` - (Required) The address of the REST endpoint
    39   * `skip_cert_verification` - (Optional) Whether to skip TLS verification.
    40     Defaults to `false`.