Merge pull request #21828 from nyurik/patch-1
clarify config block in terraform_remote_state
This commit is contained in:
commit
40d792c5a1
|
@ -248,6 +248,17 @@ configurations to Terraform v0.11.14 first you can then perform v0.12 upgrades
|
||||||
of individual configurations in any order, without breaking
|
of individual configurations in any order, without breaking
|
||||||
`terraform_remote_state` usage.
|
`terraform_remote_state` usage.
|
||||||
|
|
||||||
|
Note that the `config` block should now be in the form of an assignment with the `=` sign:
|
||||||
|
|
||||||
|
```hcl
|
||||||
|
data "terraform_remote_state" "default" {
|
||||||
|
backend = "gcs"
|
||||||
|
config = {
|
||||||
|
bucket = "..."
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
### Attributes vs. blocks
|
### Attributes vs. blocks
|
||||||
|
|
||||||
Terraform resource configurations consist of both arguments that set
|
Terraform resource configurations consist of both arguments that set
|
||||||
|
|
Loading…
Reference in New Issue