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
demandé il y a 4 mois296 vues
1 réponse
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
répondu il y a 4 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions