mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
website/docs: update example in remote_state.html.md (#21661)
This commit is contained in:
parent
89aa62c75d
commit
0abb0a05fb
@ -32,7 +32,7 @@ data "terraform_remote_state" "vpc" {
|
||||
# Terraform >= 0.12
|
||||
resource "aws_instance" "foo" {
|
||||
# ...
|
||||
subnet_id = "${data.terraform_remote_state.vpc.outputs.subnet_id}"
|
||||
subnet_id = data.terraform_remote_state.vpc.outputs.subnet_id
|
||||
}
|
||||
|
||||
# Terraform <= 0.11
|
||||
|
Loading…
Reference in New Issue
Block a user