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
posta 4 mesi fa298 visualizzazioni
1 Risposta
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
con risposta 4 mesi fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande