/tmp directory available at lambda runtime on now v2?March 20, 2019 at 8:18am
AWS lambdas can write files to a temporary directory (scratch disk). Is this possible with now v2 as the docs indicate it was possible with now v1. The goal is to allow media uploads to work in WordPress by moving assets to S3 after the upload completes. Right now an error message appears which says the /tmp directory or its parent cannot be written to.
March 20, 2019 at 11:43am
There's nothing in the logs that helps unfortunately. I'm not sure if this is normal or if the php error log isn't correctly output here?
I've just tried deploying again and I'm not seeing anything in the logs whatsoever now??
I can't repro this with a node deployment...
It's the now/wordpress builder
I've followed the documentation that's about to be merged
Not sure if relevant but I'm deploying another route alongside that's a node app
March 20, 2019 at 8:08pm