How to update a AWS::Lambda::Version always to $LATEST in a CF template
问题 I have a Cloudformation template with a Lambda@Edge function. This means I need the lambda function, and a Version (type WS::Lambda::Version). Now, the first time I create the CF template, it works. But when I update the CF template and the Lambda function is updated, the Lambda version does not get updated (kind of makes sense, it did not change!). How can I force the Lambda version to update when the Lambda function updates? 回答1: You can create a script that edits the template before