mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-23 07:33:32 -06:00
cb2e9119aa
Signed-off-by: namgyalangmo <75657887+namgyalangmo@users.noreply.github.com>
16 lines
517 B
Go
16 lines
517 B
Go
// Copyright (c) The OpenTofu Authors
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
// Copyright (c) 2023 HashiCorp, Inc.
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
package tofu
|
|
|
|
// graphNodeTemporaryValue is implemented by nodes that may represent temporary
|
|
// values, which are those not saved to the state file. This includes locals,
|
|
// variables, and non-root outputs.
|
|
// A boolean return value allows a node which may need to be saved to
|
|
// conditionally do so.
|
|
type graphNodeTemporaryValue interface {
|
|
temporaryValue() bool
|
|
}
|