Merge pull request #21828 from nyurik/patch-1

clarify config block in terraform_remote_state
This commit is contained in:
Pam Selle 2019-07-15 10:51:20 -04:00 committed by GitHub
commit 40d792c5a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 0 deletions

View File

@ -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
`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
Terraform resource configurations consist of both arguments that set