github.com/terramate-io/tf@v0.0.0-20230830114523-fce866b4dfcd/states/output_value.go (about) 1 // Copyright (c) HashiCorp, Inc. 2 // SPDX-License-Identifier: MPL-2.0 3 4 package states 5 6 import ( 7 "github.com/terramate-io/tf/addrs" 8 "github.com/zclconf/go-cty/cty" 9 ) 10 11 // OutputValue represents the state of a particular output value. 12 // 13 // It is not valid to mutate an OutputValue object once it has been created. 14 // Instead, create an entirely new OutputValue to replace the previous one. 15 type OutputValue struct { 16 Addr addrs.AbsOutputValue 17 Value cty.Value 18 Sensitive bool 19 }