From 43e3217c8d3803ee084269b77f1cd71b51f374f7 Mon Sep 17 00:00:00 2001 From: Phil Frost Date: Thu, 9 Apr 2015 10:57:43 -0400 Subject: [PATCH] Test case for hashicorp/terraform/issues/1448 --- a/test.tf | 1 + b/b.tf | 1 + test.tf | 9 +++++++++ 3 files changed, 11 insertions(+) create mode 100644 a/test.tf create mode 100644 b/b.tf create mode 100644 test.tf diff --git a/a/test.tf b/a/test.tf new file mode 100644 index 0000000..a9c3985 --- /dev/null +++ b/a/test.tf @@ -0,0 +1 @@ +# no outputs diff --git a/b/b.tf b/b/b.tf new file mode 100644 index 0000000..91084f7 --- /dev/null +++ b/b/b.tf @@ -0,0 +1 @@ +variable "foo" {} diff --git a/test.tf b/test.tf new file mode 100644 index 0000000..c1c6882 --- /dev/null +++ b/test.tf @@ -0,0 +1,9 @@ +module "a" { + source = "a" + # this module has no outputs +} + +module "b" { + source = "b" + foo = "${module.a.this_output_does_not_exist}" +}