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?

preguntada hace 2 años51 visualizaciones
No hay respuestas

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas