hi, I've searched all over, and I can't find a res...
# help
b
hi, I've searched all over, and I can't find a resolution to my issue. I'm getting the following error using
"@cerbos/grpc@^0.14.0"
and
"@cerbos/core@^0.14.0"
. as far as I can tell, these are the latest releases for the cerbos-sdk-javascript.
Copy code
{
  "log.level": "error",
  "@timestamp": "2023-12-01T00:40:39.340Z",
  "log.logger": "cerbos.index",
  "message": "Index build failed",
  "load_failures": [
    {
      "file": "common_variables.yaml",
      "error": "file is not valid: [/: additionalProperties 'exportVariables' not allowed, /: missing properties: 'resourcePolicy', /: missing properties: 'principalPolicy', /: missing properties: 'derivedRoles']"
    }
  ]
}
here's the file itself
Copy code
# yaml-language-server: $schema=<https://api.cerbos.dev/latest/cerbos/policy/v1/Policy.schema.json>
apiVersion: api.cerbos.dev/v1
description: Common variables
exportVariables:
  name: common_variables 
  definitions: 
    foo: bar
oh, I might need to update the docker image I'm using
d
Yes, worth checking out the cerbos version. Should be at least v0.29.0.
🙌 1