1 Respuesta
- Más nuevo
- Más votos
- Más comentarios
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/
Contenido relevante
- OFICIAL DE AWSActualizada hace 2 años
- OFICIAL DE AWSActualizada hace 3 años
- OFICIAL DE AWSActualizada hace 4 años
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.