website/docs: update example in remote_state.html.md (#21661)

This commit is contained in:
Raymond Rutjes 2019-06-10 15:47:11 +02:00 committed by Kristin Laemmert
parent 89aa62c75d
commit 0abb0a05fb
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ data "terraform_remote_state" "vpc" {
# Terraform >= 0.12 # Terraform >= 0.12
resource "aws_instance" "foo" { 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 # Terraform <= 0.11