From ea0856bfe7b99cf9f2d7f99ee09e26af335d37d3 Mon Sep 17 00:00:00 2001 From: Daniel Schmidt Date: Thu, 22 Feb 2024 19:18:07 +0100 Subject: [PATCH] add a line of documentation to clarify --- website/docs/language/tests/index.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/docs/language/tests/index.mdx b/website/docs/language/tests/index.mdx index 67f4ffbbc4..a5a8612c5e 100644 --- a/website/docs/language/tests/index.mdx +++ b/website/docs/language/tests/index.mdx @@ -8,7 +8,7 @@ description: >- -> **Note:** This testing framework is available in Terraform v1.6.0 and later. -Terraform tests let authors validate that module configuration updates do not introduce breaking changes. Tests run against test-specific, short-lived resources, preventing any risk to your existing infrastructure or state. +Terraform tests let authors validate that module configuration updates do not introduce breaking changes. Tests run against test-specific, short-lived resources, preventing any risk to your existing infrastructure or state. ## Integration or Unit testing @@ -174,7 +174,7 @@ For tests defined in a test directory, any variable values defined in automatic ### Variable References -Variables you define within `run` blocks can refer to outputs from modules executed in earlier `run` blocks and variables defined at higher precedence levels. +Variables you define within `run` blocks can refer to outputs from modules executed in earlier `run` blocks and variables defined at higher precedence levels. Variables in the root `variables` block can only refer to global variables. For example, the following code block shows how a variable can refer to higher precedence variables and previous run blocks: