Using a Key on ExtraInfo to differentiate between Consolidation Warnings (#3036)

Signed-off-by: Diogenes Fernandes <diofeher@gmail.com>
Signed-off-by: Diógenes Fernandes <diofeher@gmail.com>
This commit is contained in:
Diógenes Fernandes
2025-07-24 12:20:57 -03:00
committed by GitHub
parent 72f4ed2acb
commit 5fb4a1aed2
11 changed files with 323 additions and 12 deletions

View File

@@ -243,5 +243,9 @@ their configuration:
│ 'examle' output must no longer be used due to a typo, use 'example' instead
```
Deprecation warnings can be filtered or disabled by using the `-deprecation` CLI argument. For more details, check its description
in the command options for [plan](../../cli/commands/plan.mdx#other-options) and [apply](../../cli/commands/apply.mdx#apply-options).
Deprecation warnings can be filtered or disabled by using the `-deprecation` CLI argument.
By default, deprecated module variables will be consolidated by their output value and the deprecation
message. In order to see them individually, `-consolidation-warnings=false` can be used.
For more details, check its description in the command options for
[plan](../../cli/commands/plan.mdx#other-options) and [apply](../../cli/commands/apply.mdx#apply-options).

View File

@@ -329,8 +329,14 @@ their configuration:
│ 'examle' variable must no longer be used due to a typo, use 'example' instead
```
Deprecation warnings can be filtered or disabled by using the `-deprecation` CLI argument. For more details, check its description
in the command options for [plan](../../cli/commands/plan.mdx#other-options) and [apply](../../cli/commands/apply.mdx#apply-options).
Deprecation warnings can be filtered or disabled by using the `-deprecation` CLI
argument. By default, deprecated module variables will be consolidated by using their variable
name and the deprecation message. If two different modules are using a submodule with
a deprecated variable, they will be shown together. In order to see them individually,
`-consolidation-warnings=false` can be used. For more details, check its description
in the command options for [plan](../../cli/commands/plan.mdx#other-options) and
[apply](../../cli/commands/apply.mdx#apply-options).
## Using Input Variable Values
Within the module that declared a variable, its value can be accessed from