cdk-real-drift 0.12.60 → 0.12.61
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 -0
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -16550,6 +16550,15 @@ function buildRevertPlan(findings, baseline, opts = {}) {
|
|
|
16550
16550
|
});
|
|
16551
16551
|
continue;
|
|
16552
16552
|
}
|
|
16553
|
+
if (CC_UPDATE_REJECTED_TYPES.has(f.resourceType) && !SDK_WRITERS[f.resourceType] && !propScoped && !nestedScoped) {
|
|
16554
|
+
notRevertable.push({
|
|
16555
|
+
displayId,
|
|
16556
|
+
resourceType: f.resourceType,
|
|
16557
|
+
path: f.path,
|
|
16558
|
+
reason: "type rejects any Cloud Control patch (Tags minItems:1) — no SDK writer for this path, detect/record only"
|
|
16559
|
+
});
|
|
16560
|
+
continue;
|
|
16561
|
+
}
|
|
16553
16562
|
const kind = SDK_WRITERS[f.resourceType] || propScoped || nestedScoped ? "sdk" : "cc";
|
|
16554
16563
|
let toRevert = f;
|
|
16555
16564
|
const sgSide = f.tier === "declared" && f.resourceType === "AWS::EC2::SecurityGroup" ? SG_REVERT_SIDE[f.path] : void 0;
|
|
@@ -16716,6 +16725,7 @@ function tagPreservingOps(ops, liveRaw) {
|
|
|
16716
16725
|
});
|
|
16717
16726
|
return changed ? out : ops;
|
|
16718
16727
|
}
|
|
16728
|
+
const CC_UPDATE_REJECTED_TYPES = new Set(["AWS::KinesisVideo::Stream", "AWS::KinesisVideo::SignalingChannel"]);
|
|
16719
16729
|
const CC_UPDATE_REJECTED_EMPTY_PATHS = {
|
|
16720
16730
|
"AWS::VpcLattice::Rule": ["/Match/HttpMatch/HeaderMatches"],
|
|
16721
16731
|
"AWS::ImageBuilder::DistributionConfiguration": [
|