code: func (s *SyncState) SetOutputValue(addr addrs.AbsOutputValue, value cty.Value, sensitive bool) {
  	s.lock.Lock()
  	defer s.lock.Unlock()
  
  	ms := s.state.EnsureModule(addr.Module)
  	ms.SetOutputValue(addr.OutputValue.Name, value, sensitive)
  }
docs: // SetOutputValue writes a given output value into the state, overwriting
  // any existing value of the same name.
  //
  // If the module containing the output is not yet tracked in state then it
  // be added as a side-effect.