2024-02-08 03:48:59 -06:00
|
|
|
// Copyright (c) The OpenTofu Authors
|
|
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
// Copyright (c) 2023 HashiCorp, Inc.
|
2023-05-02 10:33:06 -05:00
|
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
|
2018-06-07 19:27:57 -05:00
|
|
|
package states
|
|
|
|
|
|
|
|
import (
|
2023-09-20 06:35:35 -05:00
|
|
|
"github.com/opentofu/opentofu/internal/addrs"
|
2018-06-07 19:27:57 -05:00
|
|
|
"github.com/zclconf/go-cty/cty"
|
|
|
|
)
|
|
|
|
|
|
|
|
// OutputValue represents the state of a particular output value.
|
|
|
|
//
|
|
|
|
// It is not valid to mutate an OutputValue object once it has been created.
|
|
|
|
// Instead, create an entirely new OutputValue to replace the previous one.
|
|
|
|
type OutputValue struct {
|
2020-04-13 15:37:59 -05:00
|
|
|
Addr addrs.AbsOutputValue
|
2018-06-07 19:27:57 -05:00
|
|
|
Value cty.Value
|
|
|
|
Sensitive bool
|
|
|
|
}
|