code: func (s *State) RootModule() *Module {
  	if s == nil {
  		panic("RootModule called on nil State")
  	}
  	return s.Modules[addrs.RootModuleInstance.String()]
  }
docs: // RootModule is a convenient alias for Module(addrs.RootModuleInstance).