Amazon web services – Data loss in AWS Lambda function when downloading file from S3 to /tmp
I have written a Lambda function in AWS to download a file from an S3 location to /tmp directory (local Lambda space). I am able to download the file however, the file size is changing here, not sure why? def…