Hello,
I would like to call function when deploy are succeeded.
I create deploy-succeeded.js and when I start the deploy, the function is reconize
But when I click on this function I get this error
My function is just :
exports.handler = function (event, context, callback) {
console.log('------------')
console.log('Begin of function')
console.log('------------')
console.log('------------')
console.log(event, context, callback)
console.log('------------')
callback(null, {
statusCode: 200,
body: JSON.stringify({
message: `Hello world`
})
});
}
Do you have any idea ?
Thank you !