You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
but the bootstrap script seems to be ignoring the working_directory parameter and tries to import /var/task/baz.js instead of /var/task/foo/bar/baz.js - as a workaround I commented out the parameter and changed the command to ["foo/bar/baz.handler"]
The text was updated successfully, but these errors were encountered:
Atm CMD ["foo/bar/baz.handler"] is the way forward. In some sense that's not a workaround but has always been the way to reference files not at the top level.
It's unclear to me how to support working directory... i need to think about it a little more... what you are supposed to do with LAMBDA_TASK_ROOT vs WORKDIR? 🤔
We should run some tests with some of the default runtimes to see how they behave, that might enlighten us as to how to support workdir for the deno runtime.
I have the following configuration in Terraform:
but the bootstrap script seems to be ignoring the
working_directory
parameter and tries to import/var/task/baz.js
instead of/var/task/foo/bar/baz.js
- as a workaround I commented out the parameter and changed the command to["foo/bar/baz.handler"]
The text was updated successfully, but these errors were encountered: