cdk-real-drift 0.2.73 → 0.2.75
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 +9 -3
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -3426,7 +3426,14 @@ function restrictYaml11Tags(baseTags) {
|
|
|
3426
3426
|
restricted.push(tag);
|
|
3427
3427
|
continue;
|
|
3428
3428
|
}
|
|
3429
|
-
if (tag.tag === TIMESTAMP_TAG)
|
|
3429
|
+
if (tag.tag === TIMESTAMP_TAG) {
|
|
3430
|
+
const scalar = tag;
|
|
3431
|
+
restricted.push({
|
|
3432
|
+
...scalar,
|
|
3433
|
+
resolve: (value) => value
|
|
3434
|
+
});
|
|
3435
|
+
continue;
|
|
3436
|
+
}
|
|
3430
3437
|
if (tag.tag === BOOL_TAG) {
|
|
3431
3438
|
const scalar = tag;
|
|
3432
3439
|
const isTrueTag = scalar.identify?.(true) === true;
|
|
@@ -8903,8 +8910,7 @@ const CC_IDENTIFIER_ADAPTERS = {
|
|
|
8903
8910
|
function scalingPolicyComposite(pid, declared) {
|
|
8904
8911
|
if (pid.includes("|")) return pid;
|
|
8905
8912
|
const targetId = declared.ScalingTargetId;
|
|
8906
|
-
|
|
8907
|
-
const dimension = targetId.split("|")[1];
|
|
8913
|
+
const dimension = typeof targetId === "string" ? targetId.split("|")[1] : typeof declared.ScalableDimension === "string" ? declared.ScalableDimension : void 0;
|
|
8908
8914
|
return dimension ? `${pid}|${dimension}` : void 0;
|
|
8909
8915
|
}
|
|
8910
8916
|
function compositeWith(parentKey) {
|