github.com/loicalbertin/terraform@v0.6.15-0.20170626182346-8e2583055467/website/docs/backends/types/http.html.md (about)

     1  ---
     2  layout: "backend-types"
     3  page_title: "Backend Type: http"
     4  sidebar_current: "docs-backends-types-standard-http"
     5  description: |-
     6    Terraform can store state remotely at any valid HTTP endpoint.
     7  ---
     8  
     9  # http
    10  
    11  **Kind: Standard (with no locking)**
    12  
    13  Stores the state using a simple [REST](https://en.wikipedia.org/wiki/Representational_state_transfer) client.
    14  
    15  State will be fetched via GET, updated via POST, and purged with DELETE.
    16  
    17  ## Example Usage
    18  
    19  ```hcl
    20  terraform {
    21    backend "http" {
    22      address = "http://myrest.api.com"
    23    }
    24  }
    25  ```
    26  
    27  ## Example Referencing
    28  
    29  ```hcl
    30  data "terraform_remote_state" "foo" {
    31    backend = "http"
    32    config {
    33      address = "http://my.rest.api.com"
    34    }
    35  }
    36  ```
    37  
    38  ## Configuration variables
    39  
    40  The following configuration options are supported:
    41  
    42   * `address` - (Required) The address of the REST endpoint
    43   * `username` - (Optional) The username for HTTP basic authentication
    44   * `password` - (Optional) The password for HTTP basic authentication
    45   * `skip_cert_verification` - (Optional) Whether to skip TLS verification.
    46     Defaults to `false`.