code: func (ms *Module) RemoveResource(addr addrs.Resource) {
  	delete(ms.Resources, addr.String())
  }
docs: // RemoveResource removes the entire state for the given resource, taking with
  // it any instances associated with the resource. This should generally be
  // called only for resource objects whose instances have all been destroyed.