mirror of
https://github.com/opentffoundation/opentf.git
synced 2025-12-25 01:00:16 -05:00
Feature branch: Ephemeral resources (#2852)
Signed-off-by: Andrei Ciobanu <andrei.ciobanu@opentofu.org>
This commit is contained in:
15
internal/command/e2etest/testdata/ephemeral-workflow/mod/main.tf
vendored
Normal file
15
internal/command/e2etest/testdata/ephemeral-workflow/mod/main.tf
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
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
|
||||
ephemeral = true // NOTE: because
|
||||
}
|
||||
|
||||
output "out2" {
|
||||
value = "rawvalue" // TODO ephemeral - this is returning a raw value and since incomplete work, the evaluated value is not marked as ephemeral. Once this will be fixed, the test should fail
|
||||
ephemeral = true
|
||||
}
|
||||
Reference in New Issue
Block a user