Terraform 0.7.0 data resource for remote state does not use the 'output' path (#7802)

This commit is contained in:
Mike Tougeron 2016-07-25 13:41:24 -07:00 committed by Paul Stack
parent a61687add1
commit 8378333f64
2 changed files with 2 additions and 2 deletions

View File

@ -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}"
}
```

View File

@ -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}"
}
```