mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-28 01:41:48 -06:00
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:
commit
5a20e1ab94
@ -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
|
||||
|
||||
We’ve updated the RPC protocol used by Terraform plugins to support typed data
|
||||
|
Loading…
Reference in New Issue
Block a user