Referencing other modules (even my own code) inside a lambda seems fine (apart from the necessary './bin' hack + the use of import() inside the lambda). Trying to reference my own code inside one of my own module is currently not supported I think. I tried many alternative layouts but basically if I have customModule1 which imports customModule2 and my lambda only has a dep on customModule1 then customModule2 is never present in the final Lambda code.