From e4fec197c705555a2694206d5b5299e4d51f0529 Mon Sep 17 00:00:00 2001 From: Rico Huijbers Date: Mon, 14 Jan 2019 13:33:14 +0100 Subject: [PATCH] Format 'replace' as red as well since it's just as dangerous as 'destroy'. Fixes #1458. --- packages/@aws-cdk/cloudformation-diff/lib/format.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/@aws-cdk/cloudformation-diff/lib/format.ts b/packages/@aws-cdk/cloudformation-diff/lib/format.ts index c53265eac2a9e..e37703d0da059 100644 --- a/packages/@aws-cdk/cloudformation-diff/lib/format.ts +++ b/packages/@aws-cdk/cloudformation-diff/lib/format.ts @@ -186,7 +186,7 @@ class Formatter { case ResourceImpact.MAY_REPLACE: return colors.italic(colors.yellow('may be replaced')); case ResourceImpact.WILL_REPLACE: - return colors.italic(colors.bold(colors.yellow('replace'))); + return colors.italic(colors.bold(colors.red('replace'))); case ResourceImpact.WILL_DESTROY: return colors.italic(colors.bold(colors.red('destroy'))); case ResourceImpact.WILL_ORPHAN: