How to disable rollbacks in CodeDeploy

0

I have been working with SAM to deploy lambda functions from my local box to AWS successfully and decided that I should automate the SAM process with CodePipeline. I have the source derived from a git repo which contains a top-level directory with the lambda functions, samconfig.json, and template.yaml. We are successfully pulling the repo into S3 and skipping the build phase since our functions are written in python. CodeDeploy is set to utilize CloudFormation to Create or Update a stack. CloudFormation utilizes a different config structure which seems to not let me disable rollbacks or use my SAM config. Is there a way to bake the Disable_rollbacks into the template or the CF config?

已提问 2 年前51 查看次数
没有答案

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则