Background: Our team is trying to run UI performance testing on lambda. Right now we are running performance test cases uploading our code a zip file on lambda. The challenge here is we are hitting lambda zip file size limit of 50 MB as our application is continuously growing. Then we came across the Lambda containers which has image size limit up-to 10GB.
Problem: We build our docker image with required dependencies and we are able to run our test case locally as well as on Jenkins agent. But when we tried to run same docker image on lambda it gives error - "Lambda user has no write permission for given directory". Google chrome creates files while running the automation script. Lambda has read and write access only inside temp folder. Temp folder size lint is 512MB. Is there any way to give lambda access inside container to run the test cases?