mirror of https://github.com/hashicorp/terraform
Merge pull request #2478 from hashicorp/b-invalid-var-should-error
terraform: error if resource not found in module [GH-1997]pull/2469/head
commit
592df714eb
@ -0,0 +1 @@
|
||||
variable "value" {}
|
||||
@ -0,0 +1,6 @@
|
||||
resource "aws_instance" "foo" {}
|
||||
|
||||
module "child" {
|
||||
source = "./child"
|
||||
value = "${aws_instance.foo.nope}"
|
||||
}
|
||||
Loading…
Reference in new issue