mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-25 16:31:10 -06:00
20 lines
497 B
Go
20 lines
497 B
Go
// Copyright (c) HashiCorp, Inc.
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
package states
|
|
|
|
import (
|
|
"github.com/opentofu/opentofu/internal/addrs"
|
|
"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 {
|
|
Addr addrs.AbsOutputValue
|
|
Value cty.Value
|
|
Sensitive bool
|
|
}
|