Merge pull request #9248 from cblecker/remote-state-docs
Fix documentation for GCS Remote State
This commit is contained in:
commit
2e229f8b45
|
@ -42,7 +42,7 @@ resource "template_file" "bar" {
|
||||||
template = "${greeting}"
|
template = "${greeting}"
|
||||||
|
|
||||||
vars {
|
vars {
|
||||||
greeting = "${data.terraform_remote_state.foo.output.greeting}"
|
greeting = "${data.terraform_remote_state.foo.greeting}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
|
@ -16,7 +16,7 @@ Stores the state as an artifact in [Manta](https://www.joyent.com/manta).
|
||||||
terraform remote config \
|
terraform remote config \
|
||||||
-backend=manta \
|
-backend=manta \
|
||||||
-backend-config="path=random/path" \
|
-backend-config="path=random/path" \
|
||||||
-backend-config="objecName=terraform.tfstate"
|
-backend-config="objecName=terraform.tfstate"
|
||||||
```
|
```
|
||||||
|
|
||||||
## Example Referencing
|
## Example Referencing
|
||||||
|
@ -26,7 +26,7 @@ data "terraform_remote_state" "foo" {
|
||||||
backend = "manta"
|
backend = "manta"
|
||||||
config {
|
config {
|
||||||
path = "random/path"
|
path = "random/path"
|
||||||
objectName = "terraform.tfstate"
|
objectName = "terraform.tfstate"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue