i see it triggering on monitor but nothing happens. im wondering if the role is wrong, it would be good to show or link to how to setup role, i used the basic role
Thanks for the clear explanation. I got the following error, Do you know what happened? { "errorMessage": "'Records'", "errorType": "KeyError", "requestId": "bbe41722-aba6-4dcc-aadf-fb4b1aa28cf3", "stackTrace": [ " File \"/var/task/lambda_function.py\", line 9, in lambda_handler bucket_name = event['Records'][0]['s3']['bucket']['name'] " ] }
@@learncloudcomputing_mpI'm not sure what you mean. I didn't notice the bucket name in the lambda code? Let me know if I missed anything. PS: I'm a beginner aws user
No, but functions can be timed out due to resource availability in the function setup. Please configure the Lambda function resources accordingly. Visit here for more information. docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html
thanks for this video i cleared my some doubt from this video
thank you so much for the video ! very usefull
could you crate a video for two different buckets means source bucket(Zip file) and destination bucket(Unzip file) will be different.
I keep getting the error [Errno 21] Is a directory not sure what that means any ideas?
i see it triggering on monitor but nothing happens. im wondering if the role is wrong, it would be good to show or link to how to setup role, i used the basic role
i have a huge data and zipped inside subfolders, not able to use you method.. I dont see nay breakdown files
Hi, I getting the error 403 when calling the head object, Do you know what happened?
Thanks for the clear explanation.
I got the following error, Do you know what happened?
{
"errorMessage": "'Records'",
"errorType": "KeyError",
"requestId": "bbe41722-aba6-4dcc-aadf-fb4b1aa28cf3",
"stackTrace": [
" File \"/var/task/lambda_function.py\", line 9, in lambda_handler
bucket_name = event['Records'][0]['s3']['bucket']['name']
"
]
}
Check the bucket name
@@learncloudcomputing_mpI'm not sure what you mean. I didn't notice the bucket name in the lambda code? Let me know if I missed anything.
PS: I'm a beginner aws user
I would like to ZIP a folder in S3 buckect, is it possible?
yes: Try this code github.com/maheshpeiris0/aws-lambda-auto-unzip-files-in-s3/blob/main/zip_folder_lambda.py and make sure lambda has access to s3
is there a size limit to the zip file?
No, but functions can be timed out due to resource availability in the function setup. Please configure the Lambda function resources accordingly. Visit here for more information. docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html