Is there a way to recover the deleted lambda function?

1

Hello I made a mistake. I deleted the lambda function that I was using. I want to restore the deleted lambda function. Can you tell me how?

  • When you deploy a lambda function you upload your code by zip file?

    If so just recreate a lambda function uploading last zip file

    Is it you case?

ryan123
preguntada hace 2 años6721 visualizaciones
2 Respuestas
3

There is no API to restore a function. This is one of the reasons that we recommend using Infrastructure as Code, such as SAM or serverless framework. You keep your functions in a repository and you deploy it from there.

profile pictureAWS
EXPERTO
Uri
respondido hace 2 años
profile picture
EXPERTO
revisado hace un mes
0

There is no option or way to retrieve the deleted AWS lambda code, but related logs, roles, test event schemas, and triggers will be retained in your account.

respondido hace 2 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas