Add new CLI arg to control what warnings should be shown for deprecated outputs/variables (#2705)

Signed-off-by: yottta <andrei.ciobanu@opentofu.org>
Signed-off-by: Andrei Ciobanu <andrei.ciobanu@opentofu.org>
This commit is contained in:
Andrei Ciobanu
2025-05-08 17:01:40 +03:00
committed by GitHub
parent 26a77c9156
commit 22dc9b2137
30 changed files with 768 additions and 47 deletions

View File

@@ -0,0 +1,8 @@
module "call" {
source = "./mod"
input = "test"
}
locals {
_ = module.call.output
}

View File

@@ -0,0 +1,9 @@
variable "input" {
default = "world"
deprecated = "This var is deprecated"
}
output "output" {
value = "${var.input}"
deprecated = "this output is deprecated"
}