-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
this.node.addError does not cause cdk diff
to fail
#4700
Comments
The errors will be thrown in the aws-cdk/packages/aws-cdk/lib/api/cxapp/stacks.ts Lines 315 to 317 in ba38b76
Which is only called for the
aws-cdk/packages/aws-cdk/bin/cdk.ts Line 297 in 4f765b2
Even if it was intended for |
Adding in appStacks.processMetadata(stacks); command into the diff method so that metadata is process correctly and the diff should fail
fixed by #5284 |
❓ General Issue
Not sure if this is a bug or a feature.
cdk diff <stackname>
will succeed on a stack with errors, even though acdk deploy
orcdk synth
will fail. Thecdk diff
does not show any indication of an error.If this is intention it might be worth signposting it somehow.
Environment
Unknown command: version
(but it's1.14.0 (build 261a1bf)
if I runcdk --version
instead)The text was updated successfully, but these errors were encountered: