code: func (s *BackendState) Config(schema *configschema.Block) (cty.Value, error) {
  	ty := schema.ImpliedType()
  	if s == nil {
  		return cty.NullVal(ty), nil
  	}
  	return ctyjson.Unmarshal(s.ConfigRaw, ty)
  }
docs: // Config decodes the type-specific configuration object using the provided
  // schema and returns the result as a cty.Value.
  //
  // An error is returned if the stored configuration does not conform to the
  // given schema.