How to create a new version of a Lambda function using CloudFormation?

后端 未结 11 675
清歌不尽
清歌不尽 2020-12-08 03:44

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 a

11条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-08 04:41

    Unfortunately, this is not possible to do using CloudFormation. You will need to add new AWS::Lambda::Version sections in your CloudFormation template for each version.

    The closest solution would be to create .erb templates and have it generate CloudFormation templates with all the versions.

提交回复
热议问题