I have an error that is being logged to a cloudwatch log by cloudformation, but it gets deleted when cloudformation rolls back the commit. Is there a way to set Cloudformation’s DisableRollback flag so that it leaves the stack and logs intact?
Can’t see an obvious way to do this through the built-in options, but one way to do it would be to run
sls package command and launch the templates that are generated in the
.serverless directory (or where ever you put them) yourself, passing the