Reputation: 13
My team is working a new service on AWS and uses aws-cdk to manage our infrastructure. CloudFormation supports using-cfn-rollback-triggers. Is this feature supported in either CDK cli or CDK library? Is there a workaround if it's not supported by CDK other than manually updating cloudformation stacks.
Upvotes: 1
Views: 4122
Reputation: 601
AWS CDK does not currently support rollback triggers.
Usually, when a feature is missing from CDK, it can be mitigated by escaping to the Cfn*
resources. However, rollback triggers are not represented as CloudFormation resources, but rather are configured at create-stack/create-change-set
invocation time, and hence require support from the CDK CLI.
Long story short, unfortunately this means that there is also no workaround available.
Please feel free to Submit a feature request, this definitely sounds like a good addition to have.
Thanks
Upvotes: 3