From f49f6cbd5f43dac4c677ada42ea3124caf463864 Mon Sep 17 00:00:00 2001 From: Mike Tougeron Date: Mon, 25 Jul 2016 13:41:24 -0700 Subject: [PATCH] Terraform 0.7.0 data resource for remote state does not use the 'output' path (#7802) --- d/remote_state.html.md | 2 +- index.html.markdown | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/d/remote_state.html.md b/d/remote_state.html.md index 683ba264e3..5adc371705 100644 --- a/d/remote_state.html.md +++ b/d/remote_state.html.md @@ -22,7 +22,7 @@ data "terraform_remote_state" "vpc" { resource "aws_instance" "foo" { # ... - subnet_id = "${data.terraform_remote_state.vpc.output.subnet_id}" + subnet_id = "${data.terraform_remote_state.vpc.subnet_id}" } ``` diff --git a/index.html.markdown b/index.html.markdown index 20a9dfee3c..aba8053494 100644 --- a/index.html.markdown +++ b/index.html.markdown @@ -26,6 +26,6 @@ data "terraform_remote_state" "vpc" { resource "aws_instance" "foo" { # ... - subnet_id = "${data.terraform_remote_state.vpc.output.subnet_id}" + subnet_id = "${data.terraform_remote_state.vpc.subnet_id}" } ```