Merge pull request #20243 from hashicorp/v0.12-upgrade-guide-remote-state

docs/upgrade-guide: Document changes in remote state referencing
This commit is contained in:
Radek Simko 2019-02-12 22:16:41 +00:00 committed by GitHub
commit 5a20e1ab94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 17 additions and 0 deletions

View File

@ -53,6 +53,23 @@ be no required changes. However, we still recommend to run the migration tool
to upgrade to the more readable syntax conventions supported in this release,
and to draw attention to any potential issues.
## Remote State Referencing
`terraform` provider has changed schema which caused all outputs to be nested
under `outputs` field.
### Before
```hcl
data.terraform_remote_state.vpc.something
```
### After
```hcl
data.terraform_remote_state.vpc.outputs.something
```
## Upgrading Terraform providers
Weve updated the RPC protocol used by Terraform plugins to support typed data