fix reference to module

References to child modules should use the resource name, not their path
This commit is contained in:
Tyron 2022-01-25 20:54:20 -05:00 committed by GitHub
parent 0d1a04ec53
commit 322622a0f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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" {