code: func (r *ResourceAddress) WholeModuleAddress() *ResourceAddress {
  	return &ResourceAddress{
  		Path:            r.Path,
  		Index:           -1,
  		InstanceTypeSet: false,
  	}
  }
docs: // WholeModuleAddress returns the resource address that refers to all
  // resources in the same module as the receiver address.