cdk-real-drift 0.2.12 → 0.2.14
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 +13 -2
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -3513,6 +3513,10 @@ const ELB_ATTRIBUTE_BAGS = {
|
|
|
3513
3513
|
"AWS::ElasticLoadBalancingV2::TargetGroup": "TargetGroupAttributes",
|
|
3514
3514
|
"AWS::ElasticLoadBalancingV2::Listener": "ListenerAttributes"
|
|
3515
3515
|
};
|
|
3516
|
+
const MEANINGFUL_WHEN_OFF = {
|
|
3517
|
+
"AWS::KMS::Key": { Enabled: () => true },
|
|
3518
|
+
"AWS::SQS::Queue": { SqsManagedSseEnabled: ({ declared, live }) => declared["KmsMasterKeyId"] === void 0 && live["KmsMasterKeyId"] === void 0 }
|
|
3519
|
+
};
|
|
3516
3520
|
const stripCognitoAttrPrefix = (id) => id.replace(/^(custom|dev):/, "");
|
|
3517
3521
|
const IDENTITY_KEYED_SUBSET_ARRAYS = {
|
|
3518
3522
|
"AWS::Cognito::UserPool": { Schema: {
|
|
@@ -4272,7 +4276,10 @@ function classifyResource(resource, liveRaw, schema, opts = {}) {
|
|
|
4272
4276
|
}
|
|
4273
4277
|
if (isAllAwsTags(v)) continue;
|
|
4274
4278
|
if (physicalId !== void 0 && v === physicalId) continue;
|
|
4275
|
-
if (
|
|
4279
|
+
if (!(k in knownDef && !matchesKnownDefault(v, knownDef[k]) && (MEANINGFUL_WHEN_OFF[resourceType]?.[k]?.({
|
|
4280
|
+
declared,
|
|
4281
|
+
live
|
|
4282
|
+
}) ?? false)) && (isTrivialEmpty(v) || isSelfEchoTrivialEmpty(v, physicalId) || isEmptyPolicyShell(v))) continue;
|
|
4276
4283
|
if (isNestedObject(v) && DESCEND_UNDECLARED_OBJECT_PATHS[resourceType]?.has(k)) {
|
|
4277
4284
|
collectNestedUndeclared({}, v, k, emitNested, NESTED_ARRAY_IDENTITY[resourceType]);
|
|
4278
4285
|
continue;
|
|
@@ -10240,7 +10247,11 @@ const REVERT_SET_DEFAULT_PATHS = new Set([
|
|
|
10240
10247
|
"AWS::AppRunner::Service\0NetworkConfiguration",
|
|
10241
10248
|
"AWS::Location::Tracker\0PositionFiltering",
|
|
10242
10249
|
"AWS::Location::PlaceIndex\0DataSourceConfiguration",
|
|
10243
|
-
"AWS::Events::ApiDestination\0InvocationRateLimitPerSecond"
|
|
10250
|
+
"AWS::Events::ApiDestination\0InvocationRateLimitPerSecond",
|
|
10251
|
+
"AWS::Cognito::UserPool\0DeletionProtection",
|
|
10252
|
+
"AWS::Cognito::UserPool\0MfaConfiguration",
|
|
10253
|
+
"AWS::Cognito::UserPool\0UserPoolTier",
|
|
10254
|
+
"AWS::SNS::Subscription\0FilterPolicyScope"
|
|
10244
10255
|
]);
|
|
10245
10256
|
/**
|
|
10246
10257
|
* A nested undeclared value (a live sub-key inside a declared object, R96/R98) — a dotted
|