cdk-real-drift 0.12.58 → 0.12.60
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 +8 -1
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -3310,9 +3310,15 @@ const EB_OPTION_VALUE_INDEPENDENT = new Set([
|
|
|
3310
3310
|
"aws:elasticbeanstalk:healthreporting:system|ConfigDocument",
|
|
3311
3311
|
"aws:elasticbeanstalk:healthreporting:system|EnhancedHealthAuthEnabled"
|
|
3312
3312
|
]);
|
|
3313
|
+
function isEbGeneratedGroup(el) {
|
|
3314
|
+
const name = el.trim();
|
|
3315
|
+
if (name === "") return false;
|
|
3316
|
+
if (/^awseb-e-/i.test(name)) return true;
|
|
3317
|
+
return /AWSEB(LoadBalancer)?SecurityGroup/.test(name);
|
|
3318
|
+
}
|
|
3313
3319
|
function isAllEbGeneratedGroups(value) {
|
|
3314
3320
|
if (typeof value !== "string" || value === "") return false;
|
|
3315
|
-
return value.split(",").every((el) =>
|
|
3321
|
+
return value.split(",").every((el) => isEbGeneratedGroup(el));
|
|
3316
3322
|
}
|
|
3317
3323
|
function ebOptionSettingTier(namespace, optionName, value, envType, siblingOption) {
|
|
3318
3324
|
if (value == null || value === "") return "atDefault";
|
|
@@ -5980,6 +5986,7 @@ function matchesPropertyTransform(transformExpr, declaredValue, parentObject, ro
|
|
|
5980
5986
|
for (const scope of scopes) try {
|
|
5981
5987
|
const out = compiled.evaluate(scope);
|
|
5982
5988
|
if (out !== void 0 && deepEqual(out, liveValue)) return true;
|
|
5989
|
+
if (typeof out === "string" && typeof liveValue === "string" && typeof declaredValue === "string" && out !== declaredValue && new RegExp("^(?:" + out + ")$").test(liveValue)) return true;
|
|
5983
5990
|
} catch {}
|
|
5984
5991
|
}
|
|
5985
5992
|
return false;
|