Ir para o conteúdo

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?

feita há 4 anos10,5 mil visualizações

2 Respostas
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.

AWS
ESPECIALISTA

respondido há 4 anos

ESPECIALISTA

avaliado há 2 anos

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 há 4 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.