Closed ddimitrioglo closed 7 years ago
Please provide more details like: real file path you want to read, microservice from where you're executing lambda and the microservice the desired file is located
deep.dev.private.***x*xxx/pitch/2017/03/27/message.twig
atm-admin
microappFile system abstraction (this.kernel.get('fs').private
) uses private/${microapp-id}
prefix, so a deep.dev.private.***x*xxx/pitch/2017/03/27/message.twig
path should be like deep.dev.private.***x*xxx/private/${microapp-id}/pitch/2017/03/27/message.twig
and the readFile
call should look like fs.readFile('pitch/2017/03/27/message.twig', ...)
I'm following the example from the documentation:
and it woks in my local env as described, but does not work in my lambda after upload.
My use case: