docs/remote_state: Update docs to use data instead of resource (#8293)

This commit is contained in:
Dan Norris 2016-08-18 11:38:34 -07:00 committed by Radek Simko
parent 8d8b186cc3
commit c61f04c89d
7 changed files with 7 additions and 7 deletions

View File

@ -31,7 +31,7 @@ terraform remote config \
## Example Referencing
```
resource "terraform_remote_state" "foo" {
data "terraform_remote_state" "foo" {
backend = "artifactory"
config {
username = "SheldonCooper"

View File

@ -25,7 +25,7 @@ terraform remote config \
## Example Referencing
```
resource "terraform_remote_state" "foo" {
data "terraform_remote_state" "foo" {
backend = "atlas"
config {
name = "bigbang/example"

View File

@ -25,7 +25,7 @@ terraform remote config \
## Example Referencing
```
resource "terraform_remote_state" "foo" {
data "terraform_remote_state" "foo" {
backend = "consul"
config {
path = "full/path"

View File

@ -22,7 +22,7 @@ terraform remote config \
## Example Referencing
```
resource "terraform_remote_state" "foo" {
data "terraform_remote_state" "foo" {
backend = "etcd"
config {
path = "path/to/terraform.tfstate"

View File

@ -23,7 +23,7 @@ terraform remote config \
## Example Referencing
```
resource "terraform_remote_state" "foo" {
data "terraform_remote_state" "foo" {
backend = "http"
config {
address = "http://my.rest.api.com"

View File

@ -31,7 +31,7 @@ terraform remote config \
## Example Referencing
```
resource "terraform_remote_state" "foo" {
data "terraform_remote_state" "foo" {
backend = "s3"
config {
bucket = "terraform-state-prod"

View File

@ -21,7 +21,7 @@ terraform remote config \
## Example Referencing
```
resource "terraform_remote_state" "foo" {
data "terraform_remote_state" "foo" {
backend = "swift"
config {
path = "random/path"