cdk-real-drift 0.1.1 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +10 -4
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -609,8 +609,9 @@ const VALIDATION_REPORT = "CDK_TOOLKIT_E9600";
|
|
|
609
609
|
* Decide what QuietIoHost does with a message (pure, so it is unit-testable):
|
|
610
610
|
* - the CDK app's own stdout/stderr passthrough -> emit at INFO (default color, like
|
|
611
611
|
* cdk-local; never the alarming red the E1002/error tag would otherwise produce);
|
|
612
|
-
* - the construct-annotation validation report -> emit at
|
|
613
|
-
*
|
|
612
|
+
* - the construct-annotation validation report -> emit at WARN so the whole block is
|
|
613
|
+
* yellow (matching its WARNING label) instead of the misleading ERROR-level red
|
|
614
|
+
* wrap; per-severity labels still survive (see file header);
|
|
614
615
|
* - a real toolkit warning / error -> emit unchanged (still yellow / red);
|
|
615
616
|
* - everything else (toolkit info/debug/trace chatter) -> drop.
|
|
616
617
|
*/
|
|
@@ -621,7 +622,7 @@ function planIoMessage(msg) {
|
|
|
621
622
|
};
|
|
622
623
|
if (msg.code === VALIDATION_REPORT) return {
|
|
623
624
|
action: "emit",
|
|
624
|
-
level: "
|
|
625
|
+
level: "warn"
|
|
625
626
|
};
|
|
626
627
|
if (msg.level === "warn" || msg.level === "error") return {
|
|
627
628
|
action: "emit",
|
|
@@ -1469,7 +1470,12 @@ const KNOWN_DEFAULTS = {
|
|
|
1469
1470
|
HealthCheckGracePeriod: 0
|
|
1470
1471
|
},
|
|
1471
1472
|
"AWS::AutoScaling::WarmPool": { MinSize: 0 },
|
|
1472
|
-
"AWS::DocDB::DBCluster": {
|
|
1473
|
+
"AWS::DocDB::DBCluster": {
|
|
1474
|
+
Port: 27017,
|
|
1475
|
+
BackupRetentionPeriod: 1
|
|
1476
|
+
},
|
|
1477
|
+
"AWS::DocDB::DBInstance": { CACertificateIdentifier: "rds-ca-rsa2048-g1" },
|
|
1478
|
+
"AWS::EC2::VolumeAttachment": { EbsCardIndex: 0 },
|
|
1473
1479
|
"AWS::SSM::Association": { DocumentVersion: "$DEFAULT" },
|
|
1474
1480
|
"AWS::CloudWatch::Alarm": { TreatMissingData: "missing" },
|
|
1475
1481
|
"AWS::CloudWatch::CompositeAlarm": { ActionsEnabled: true },
|