github.com/minamijoyo/terraform@v0.7.8-0.20161029001309-18b3736ba44b/website/source/docs/state/remote/local.html.md (about)

     1  ---
     2  layout: "remotestate"
     3  page_title: "Remote State Backend: local"
     4  sidebar_current: "docs-state-remote-local"
     5  description: |-
     6    Remote state stored using the local file system.
     7  ---
     8  
     9  # local
    10  
    11  Remote state backend that uses the local file system.
    12  
    13  ## Example Usage
    14  
    15  ```
    16  terraform remote config \
    17      -backend=local \
    18      -backend-config="path=/path/to/terraform.tfstate"
    19  ```
    20  
    21  ## Example Reference
    22  
    23  ```
    24  data "terraform_remote_state" "foo" {
    25      backend = "local"
    26      config {
    27          path = "${path.module}/../../terraform.tfstate"
    28      }
    29  }
    30  ```
    31  
    32  ## Configuration variables
    33  
    34  The following configuration options are supported:
    35  
    36   * `path` - (Required) The path to the `tfstate` file.