Files
opentf/config/module/test-fixtures/validate-module-unknown/main.tf
Mitchell Hashimoto 68ee4e0480 config/module: don't panic when referencing undefined module
Fixes #12788

We would panic when referencing an output from an undefined module. The
panic above this is correct but in this case Load will not catch
interpolated variables that _reference_ an unloaded/undefined module.
Test included.
2017-03-16 20:14:20 -07:00

4 lines
71 B
HCL

resource "null_resource" "var" {
key = "${module.unknown.value}"
}