cdk-real-drift 0.18.3 → 0.18.5
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 +5 -2
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -6753,7 +6753,8 @@ function classifyResource(resource, liveRaw, schema, opts = {}) {
|
|
|
6753
6753
|
logicalId,
|
|
6754
6754
|
resourceType,
|
|
6755
6755
|
path: k,
|
|
6756
|
-
note: "write-only — cannot be read back"
|
|
6756
|
+
note: "write-only — cannot be read back",
|
|
6757
|
+
writeOnly: true
|
|
6757
6758
|
});
|
|
6758
6759
|
const twinSources = {};
|
|
6759
6760
|
for (const src of Object.values(SHAPE_ECHO_TWIN[resourceType] ?? {})) if (isNestedObject(declared[src])) twinSources[src] = declared[src];
|
|
@@ -15401,7 +15402,7 @@ function computeCompleteResources(allLogicalIds, findings, recorded, previousCom
|
|
|
15401
15402
|
const blocked = /* @__PURE__ */ new Set();
|
|
15402
15403
|
const blockedByIgnore = /* @__PURE__ */ new Set();
|
|
15403
15404
|
for (const f of findings) {
|
|
15404
|
-
if (f.tier === "skipped" || f.tier === "deleted" || f.tier === "readGap") blocked.add(f.logicalId);
|
|
15405
|
+
if (f.tier === "skipped" || f.tier === "deleted" || f.tier === "readGap" && !f.writeOnly) blocked.add(f.logicalId);
|
|
15405
15406
|
if (f.tier === "undeclared" && !recordedKeys.has(recordedKey(f))) blocked.add(f.logicalId);
|
|
15406
15407
|
if (f.tier === "ignored" && f.ignoredFrom === "undeclared" && !recordedKeys.has(recordedKey(f))) blockedByIgnore.add(f.logicalId);
|
|
15407
15408
|
}
|
|
@@ -18653,6 +18654,8 @@ const REVERT_SET_DEFAULT_PATHS = new Set([
|
|
|
18653
18654
|
"AWS::SNS::Subscription\0FilterPolicyScope",
|
|
18654
18655
|
"AWS::InternetMonitor::Monitor\0Status",
|
|
18655
18656
|
"AWS::ECR::Repository\0ImageTagMutability",
|
|
18657
|
+
"AWS::SQS::Queue\0MaximumMessageSize",
|
|
18658
|
+
"AWS::Lambda::Url\0InvokeMode",
|
|
18656
18659
|
"AWS::RolesAnywhere::Profile\0DurationSeconds",
|
|
18657
18660
|
"AWS::RolesAnywhere::Profile\0AttributeMappings",
|
|
18658
18661
|
"AWS::EC2::Subnet\0AssignIpv6AddressOnCreation",
|