code: func (s *SyncState) LocalValue(addr addrs.AbsLocalValue) cty.Value {
  	s.lock.RLock()
  	// cty.Value is immutable, so we don't need any extra copying here.
  	ret := s.state.LocalValue(addr)
  	s.lock.RUnlock()
  	return ret
  }
docs: // LocalValue returns the current value associated with the given local value
  // address.