aws-cdk-examples
aws-cdk-examples copied to clipboard
Lambda gradual deploy example, with automated roll back
:rocket: Feature Request
Description
Is there any chance you could create a lambda based example of gradual deploys with automated roll back if there are issues?
Proposed Solution
The key functionality is available in https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/automating-updates-to-serverless-apps.html but I would love to be able to use CDK instead. It allows canary deploys and an automated roll back if error levels trigger a cloudwatch alert.
As far as I know, this doesn't exist in the CDK and will have to be built as a brand new construct.
It's also not clear if this is something we would add here as part of the CDK. The AWS solutions team has started building up a library of useful patterns like this - https://github.com/awslabs/aws-solutions-constructs.
It may be worth opening an issue in their repo. Leaving this open for now.
⚠️COMMENT VISIBILITY WARNING⚠️
Comments on closed issues are hard for our team to see. If you need more assistance, please either tag a team member or open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.