From d94d9cec69a14006398c70a8c152bc21324d3d44 Mon Sep 17 00:00:00 2001 From: Rico Huijbers Date: Mon, 10 Jan 2022 15:28:22 +0100 Subject: [PATCH] docs(core): errors will fail deployment, not synthesis (#18342) Fix inaccurate information in the documentation. Closes #18317 ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license* --- packages/@aws-cdk/core/lib/annotations.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/@aws-cdk/core/lib/annotations.ts b/packages/@aws-cdk/core/lib/annotations.ts index f46c830c25757..03fb7a99bd80a 100644 --- a/packages/@aws-cdk/core/lib/annotations.ts +++ b/packages/@aws-cdk/core/lib/annotations.ts @@ -44,7 +44,7 @@ export class Annotations { /** * Adds an { "error": } metadata entry to this construct. - * The toolkit will fail synthesis when errors are reported. + * The toolkit will fail deployment of any stack that has errors reported against it. * @param message The error message. */ public addError(message: string) {