My lambda function code suddenly disappeared

0

I was coding with the web editor on aws for a lambda function. Yesterday when I reload the page, all the previous codes are gone. It only has the default code. I couldn't find previous versions as well. I swear I published it before because I connected the lambda with a API gateway and use curl to test the code. It worked before. But everything is just gone. What the heck is happening? How can I get back my 2 weeks of work?

  • Have you verified cloudtrail to see if someone else modified your Lambda function?

  • I didn't setup cloudtrail.

shutong
질문됨 일 년 전474회 조회
1개 답변
0

Hello, it is currently difficult to accurately locate the specific reason based on the limited information you have described. Perhaps you need to check Cloudtrail to see if anyone else has deleted your Lambda.

In addition, you can use Github or AWS Codecommit to manage your code, and use AWS SAM to help you building and running serverless applications on AWS. this way, even if someone accidentally deletes your Lambda project, your code is still safely saved and can be quickly republished to AWS

profile pictureAWS
답변함 일 년 전

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

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

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

관련 콘텐츠