{"action":"created","issue":{"url":"https://api.github.com/repos/hashicorp/terraform/issues/1448","labels_url":"https://api.github.com/repos/hashicorp/terraform/issues/1448/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/terraform/issues/1448/comments","events_url":"https://api.github.com/repos/hashicorp/terraform/issues/1448/events","html_url":"https://github.com/hashicorp/terraform/issues/1448","id":67380005,"number":1448,"title":"Referencing module outputs that don't exist doesn't raise an error","user":{"login":"bitglue","id":1232472,"avatar_url":"https://avatars.githubusercontent.com/u/1232472?v=3","gravatar_id":"","url":"https://api.github.com/users/bitglue","html_url":"https://github.com/bitglue","followers_url":"https://api.github.com/users/bitglue/followers","following_url":"https://api.github.com/users/bitglue/following{/other_user}","gists_url":"https://api.github.com/users/bitglue/gists{/gist_id}","starred_url":"https://api.github.com/users/bitglue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitglue/subscriptions","organizations_url":"https://api.github.com/users/bitglue/orgs","repos_url":"https://api.github.com/users/bitglue/repos","events_url":"https://api.github.com/users/bitglue/events{/privacy}","received_events_url":"https://api.github.com/users/bitglue/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/hashicorp/terraform/labels/bug","name":"bug","color":"f7c6c7"},{"url":"https://api.github.com/repos/hashicorp/terraform/labels/core","name":"core","color":"cccccc"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-09T14:57:07Z","updated_at":"2015-04-23T19:26:50Z","closed_at":null,"body":"Say I have a module `a` with no outputs, and another module `b` which requires a variable `foo`. Then this configuration:\r\n\r\n```\r\nmodule \"a\" {\r\n    source = \"a\"\r\n    # this module has no outputs\r\n}\r\n\r\nmodule \"b\" {\r\n    source = \"b\"\r\n    foo = \"${module.a.this_output_does_not_exist}\"\r\n}\r\n```\r\n\r\nseems to run just fine. Of course `${module.a.this_output_does_not_exist}` is undefined, so there's no way this could do anything useful, and it should raise an error."},"comment":{"url":"https://api.github.com/repos/hashicorp/terraform/issues/comments/95692417","html_url":"https://github.com/hashicorp/terraform/issues/1448#issuecomment-95692417","issue_url":"https://api.github.com/repos/hashicorp/terraform/issues/1448","id":95692417,"user":{"login":"justincampbell","id":246978,"avatar_url":"https://avatars.githubusercontent.com/u/246978?v=3","gravatar_id":"","url":"https://api.github.com/users/justincampbell","html_url":"https://github.com/justincampbell","followers_url":"https://api.github.com/users/justincampbell/followers","following_url":"https://api.github.com/users/justincampbell/following{/other_user}","gists_url":"https://api.github.com/users/justincampbell/gists{/gist_id}","starred_url":"https://api.github.com/users/justincampbell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justincampbell/subscriptions","organizations_url":"https://api.github.com/users/justincampbell/orgs","repos_url":"https://api.github.com/users/justincampbell/repos","events_url":"https://api.github.com/users/justincampbell/events{/privacy}","received_events_url":"https://api.github.com/users/justincampbell/received_events","type":"User","site_admin":false},"created_at":"2015-04-23T19:26:50Z","updated_at":"2015-04-23T19:26:50Z","body":"This bug I ran into seems similar https://gist.github.com/justincampbell/2a32edb75cc2ae16d0d5"}}