code: func (ps *ProviderSchema) SchemaForResourceAddr(addr addrs.Resource) (schema *configschema.Block, version uint64) {
  	return ps.SchemaForResourceType(addr.Mode, addr.Type)
  }
docs: // SchemaForResourceAddr attempts to find a schema for the mode and type from
  // the given resource address. Returns nil if no such schema is available.