code: func (ms *Module) Resource(addr addrs.Resource) *Resource {
  	return ms.Resources[addr.String()]
  }
docs: // Resource returns the state for the resource with the given address within
  // the receiving module state, or nil if the requested resource is not tracked
  // in the state.