From 322622a0f40dd0c06f45f9b40f8a36515a7502f4 Mon Sep 17 00:00:00 2001 From: Tyron Date: Tue, 25 Jan 2022 20:54:20 -0500 Subject: [PATCH] fix reference to module References to child modules should use the resource name, not their path --- website/docs/language/values/outputs.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/language/values/outputs.mdx b/website/docs/language/values/outputs.mdx index a06c8ffcb..777400e19 100644 --- a/website/docs/language/values/outputs.mdx +++ b/website/docs/language/values/outputs.mdx @@ -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" {