How to restore a accidentely deleted AWS Lambda Layer

0

I created a lambda layer from AWS Amplify, I later deleted this layer from cloud console as I could not delete using amplify CLI. Now my amplify environment (push) is non functional as the cloud resources for the deleted layer were not found.

If anyone can suggest either one of the solution. I would be really helpful a) Restore Lambda Layer
(or) b) How to make amplify ignore the lambda function or remove it manually

satish
질문됨 4달 전298회 조회
1개 답변
1

There is no option in console or cloud shell to restored a deleted layer- it's a dead end

Other suggestions are not option either. Amplify basically downloads the cloud configuration and checks it against the local one to determine the differential sync operation. Delete Lambda layer on deleted the layer object but an reference was left in amplify cloud configuration file. This led to failure in during first stage of synchronization options during amplify push.

I had to do the hard way, recreate fresh amplify application. Painful approach and not so elegant way. Thanks for taking time to answer by question.

Hope Aws team improves layer management in Amplify. It has been always notoriously bad implemention.

satish
답변함 4달 전

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

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

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

관련 콘텐츠