https://cerbos.dev logo
Title
v

Vladyslav Ishchenko

05/09/2023, 3:23 PM
Hey, Cerbos team. We are having a problem with cerbos instance running in lambda. Could you please help us understand what is wrong?
o

oguzhan

05/09/2023, 4:09 PM
Hi @Vladyslav Ishchenko, From the logs, it looks like you have a duplicate definition. There should be one more line of log looking like this describing which files have duplicate definition(s):
{
  "log.level": "ERROR",
  "@timestamp": "2023-05-09T19:04:39.359+0300",
  "log.logger": "cerbos.index",
  "message": "Index build failed",
  "duplicates": [
    {
      "file": "leave_request.yaml",
      "other_file": "leave_request_1.yaml"
    }
  ]
}
v

Vladyslav Ishchenko

05/09/2023, 6:28 PM
@oguzhan Thanks a lot! It works!