I'm using the example function for resizing and used SNS topic event notification as I already have another function.
I'm facing this issue
{
"errorType": "TypeError",
"errorMessage": "Cannot read property 'bucket' of undefined",
"stack": [
"TypeError: Cannot read property 'bucket' of undefined",
" at Runtime.exports.handler (/var/task/index.js:13:32)",
" at Runtime.handleOnce (/var/runtime/Runtime.js:66:25)"
]
}
SNS is not passing the bucket name with the object.
Any help on this, please?