code: func (p *Provider) ReadDataSource(req providers.ReadDataSourceRequest) providers.ReadDataSourceResponse {
  	// call function
  	var res providers.ReadDataSourceResponse
  
  	// This should not happen
  	if req.TypeName != "terraform_remote_state" {
  		res.Diagnostics.Append(fmt.Errorf("Error: unsupported data source %s", req.TypeName))
  		return res
  	}
  
  	newState, diags := dataSourceRemoteStateRead(&req.Config)
  
  	res.State = newState
  	res.Diagnostics = diags
  
  	return res
  }
docs: // ReadDataSource returns the data source's current state.