github.com/kanishk98/terraform@v1.3.0-dev.0.20220917174235-661ca8088a6a/internal/states/output_value.go (about)

     1  package states
     2  
     3  import (
     4  	"github.com/hashicorp/terraform/internal/addrs"
     5  	"github.com/zclconf/go-cty/cty"
     6  )
     7  
     8  // OutputValue represents the state of a particular output value.
     9  //
    10  // It is not valid to mutate an OutputValue object once it has been created.
    11  // Instead, create an entirely new OutputValue to replace the previous one.
    12  type OutputValue struct {
    13  	Addr      addrs.AbsOutputValue
    14  	Value     cty.Value
    15  	Sensitive bool
    16  }