probably a stupid question, but can I have a Lua h...
# help
g
probably a stupid question, but can I have a Lua hook calling a local non-Lua script?
a
Hi @Giuseppe Barbieri, No, this is not possible. Lua hooks run on the lakeFS server container, so they are intentionally very limited in what they can do. You'll probably need to use one of the other types of hooks: web or Airflow.
gratitude thank you 1
👍 1
g
one last question though, is this also the case for a lakeFS running from CLI and not in a container?
i
@Giuseppe Barbieri hey, that is always the case, the Lua runtime in lakeFS is limited on purpose due to security reasons. Especially around executing OS level commands such as running a bash script for example. You can use our http lua client to make a request to some other service if that helps but that’s about it when it comes to running external things
👍 1