github.com/jaredpalmer/terraform@v1.1.0-alpha20210908.0.20210911170307-88705c943a03/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  }