Replies: 1 comment
-
Replied on #32043 (comment). Setting const app = new cdk.App();
new CdktestStack(app, 'CdktestStack', {
env: { account: process.env.CDK_DEFAULT_ACCOUNT, region: process.env.CDK_DEFAULT_REGION },
terminationProtection: true
}); doesn't report the change when running
Appears to be useful feature to report change in |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I noticed that when you are changing termination protection of a stack, neither
diff
nordeploy
will make any indication of this change.Wouldn't it be reasonable to have
diff
output whether termination protection has been enabled or disables, and havedeploy
output that this action was in fact made.On a separate note: I would love to have a feature flag to enable/disable termination protection for all stacks. Currently I'm using an aspect that will set termination protection on each stack.
Beta Was this translation helpful? Give feedback.
All reactions