fix reference to module
References to child modules should use the resource name, not their path
This commit is contained in:
parent
0d1a04ec53
commit
322622a0f4
|
@ -115,7 +115,7 @@ module "foo" {
|
|||
}
|
||||
|
||||
resource "test_instance" "x" {
|
||||
some_attribute = module.mod.a # resource attribute references a sensitive output
|
||||
some_attribute = module.foo.a # resource attribute references a sensitive output
|
||||
}
|
||||
|
||||
output "out" {
|
||||
|
|
Loading…
Reference in New Issue