How to create a new version of a Lambda function using CloudFormation?
问题 I'm trying to create a new version of a Lambda function using CloudFormation. I want to have multiple versions of the same Lambda function so that I can (a) point aliases at different versions - like DEV and PROD - and (b) be able to roll back to an earlier version This is the definition of my Lambda version: LambdaVersion: Type: AWS::Lambda::Version Properties: FunctionName: Ref: LambdaFunction A version gets created when running "aws cloudformation create-stack" but the subsequent "aws