mirror of
https://github.com/opentffoundation/opentf.git
synced 2025-12-23 11:44:26 -05:00
Signed-off-by: Andrei Ciobanu <andrei.ciobanu@opentofu.org> Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
13 lines
438 B
HCL
13 lines
438 B
HCL
variable "in" {
|
|
type = string
|
|
description = "Variable that is marked as ephemeral and doesn't matter what value is given in, ephemeral or not, the value evaluated for this variable will be marked as ephemeral"
|
|
ephemeral = true
|
|
}
|
|
|
|
output "out1" {
|
|
value = var.in
|
|
// NOTE: because this output gets its value from referencing an ephemeral variable,
|
|
// it needs to be configured as ephemeral too.
|
|
ephemeral = true
|
|
}
|