code: func (s *State) Module(addr addrs.ModuleInstance) *Module {
  	if s == nil {
  		panic("State.Module on nil *State")
  	}
  	return s.Modules[addr.String()]
  }
docs: // Module returns the state for the module with the given address, or nil if
  // the requested module is not tracked in the state.