So I've created an AWS Lambda using a the AWS CLI. I did this by running the command:
aws lambda create-function with the argument
--zip-file fileb://file-path/zipFile.zip So then I want to make a change to the source code, so I made a new zip file but the lambda still executes with the old zip file's source code. Thus I tried to run the same command again but got the following error:
Function already exist: FunctionName So either I just have to abandon that function and create a new one with the new zip file or there's some way for me to update the existing function to use the new zip file's code.
Is there a way for me to do this update, and if so, how?