cdk-real-drift 0.13.0 → 0.13.1
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 +15 -0
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -7395,6 +7395,21 @@ function classifyResource(resource, liveRaw, schema, opts = {}) {
|
|
|
7395
7395
|
continue;
|
|
7396
7396
|
}
|
|
7397
7397
|
}
|
|
7398
|
+
if (resourceType === "AWS::RDS::DBInstance" && k === "PubliclyAccessible") {
|
|
7399
|
+
const subnetGroup = declared.DBSubnetGroupName ?? live.DBSubnetGroupName;
|
|
7400
|
+
if (typeof subnetGroup === "string") {
|
|
7401
|
+
if (v === (subnetGroup === "default")) {
|
|
7402
|
+
findings.push({
|
|
7403
|
+
tier: "atDefault",
|
|
7404
|
+
logicalId,
|
|
7405
|
+
resourceType,
|
|
7406
|
+
path: k,
|
|
7407
|
+
actual: v
|
|
7408
|
+
});
|
|
7409
|
+
continue;
|
|
7410
|
+
}
|
|
7411
|
+
}
|
|
7412
|
+
}
|
|
7398
7413
|
const namePattern = DEFAULT_MANAGED_NAME_PATHS[resourceType]?.[k];
|
|
7399
7414
|
if (namePattern !== void 0 && typeof v === "string" && namePattern.test(v)) {
|
|
7400
7415
|
findings.push({
|