code: func (s *State) LocalValue(addr addrs.AbsLocalValue) cty.Value {
  	ms := s.Module(addr.Module)
  	if ms == nil {
  		return cty.NilVal
  	}
  	return ms.LocalValues[addr.LocalValue.Name]
  }
docs: // LocalValue returns the value of the named local value with the given address,
  // or cty.NilVal if no such value is tracked in the state.