Retrieve lambda function after zip import

0

Hi there,

I've just upload a zip package which erased all the functions I was working on. Is there a way to get back my functions that I had juste before importing the zip file?

Of course I did not published any versions :/ (would have been too easy)

Thanks for your help!

Ju
질문됨 일 년 전347회 조회
1개 답변
0

You can export the deployment package of a Lambda function. This Premium Support article talks about how to migrate a Lambda function to another account or region; the initial part of the process involves exporting the function deployment packet which is what you want to do.

profile pictureAWS
전문가
답변함 일 년 전
  • Thanks for your help. When I export the deployment package I got the content of the zip package I've just downloaded, not the previous one.

  • You may be able to do that using the AWS CLI. If you specify the function ARN you can add a version number to the end like: arn:aws:lambda:us-west-2:123456789012:function:my-function:4

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠