I have a lambda function to generate presigned URL, using that URL via PUT request I am uploading a file to S3,
on each S3 bucket it triggers a lambda function which processes the uploaded files, but when the lambda tries to open the file it says, uncompressed file
My lambda functions are on Python
Just a note when I upload file directly to S3 and when it triggers the lambda, everything works fine but when uploading file via generate_presigned_url, it starts giving compression error
What am I doing wronh here?
This is my lambda function to generate presigned url
source https://stackoverflow.com/questions/74220785/uploading-a-tar-gz-file-to-s3-seems-to-corrupt-it-and-makes-it-unreadable
Comments
Post a Comment