1 Risposta
- Più recenti
- Maggior numero di voti
- Maggior numero di commenti
0
This is not possible and not recommended either. Lambda takes the zip file that you upload and does some processing internally with it. That artifact is not made available to users. So you will need to unzip the zip file, delete that culprit file and recreate the zip file and redeploy to lambda.
Ideally you should be using SAM or CDK or other tools like Terraform for deploying your Lambda functions and integrate them into a CI/CD pipeline.
A good workshop to get hands-on with SAM and AWS CI/CD services is here - https://cicd.serverlessworkshops.io/
Contenuto pertinente
- AWS UFFICIALEAggiornata 2 mesi fa
- AWS UFFICIALEAggiornata 2 anni fa
- AWS UFFICIALEAggiornata 4 anni fa
Hello Indranil,
Thank you very much for your help and suggestions!
If it can't be done, it can't be done - but it's just frustrating because I could easily delete that superfluous file in the console editor with a simple right click -> Delete, were that editor actually available to me.
But because I just happened to cross an arbitrary 3 MB limit, I have no console editor, so the files that comprise the function seem to be set in stone. Just wish there was a way to capture that same functionality in this case.
Oh well, thanks anyway, and will check out the resources you mentioned.