I have a CloudFormation template with a Lambda resource.
In the deploy step, I need to update this Lambda function with my zip file (that I have uploaded via aws cloudformation package
). Now, I can pass the name of the Lambda function as a parameter to SAM functionName, but when I do it, it complains that the functionName already exists.
That is fine but how do I specify to just update the code and not try to replace the Lambda function?
aws cloudformation package
). There shouldnt be an error... Otherwise please share your CF template. – MaiKaY