Arturo Sbr
Arturo Sbr

Reputation: 6333

Remove zip file from AWS Lambda Function

I linked the wrong file from an AWS S3 to my AWS Lambda Function. I want to delete the file.

This post is similar, but I do not know how to reupload the zip file. I want to either replace it, or preferably, remove it so that I can edit the code again using the inline editor.

Upvotes: 1

Views: 2224

Answers (1)

Chris Williams
Chris Williams

Reputation: 35238

If you are not using versioning you will need to re-upload the correct version of the code again.

There is no removing the code you have there as this is now your Lambda functions code, any upload replaces this.

For the future take a look at using versioning for your functions so that you can ensure that any accidental uploads will not disrupt applications that are using your Lambda function.

Upvotes: 1

Related Questions