cdk-real-drift 0.2.74 → 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 +1 -2
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -8910,8 +8910,7 @@ const CC_IDENTIFIER_ADAPTERS = {
|
|
|
8910
8910
|
function scalingPolicyComposite(pid, declared) {
|
|
8911
8911
|
if (pid.includes("|")) return pid;
|
|
8912
8912
|
const targetId = declared.ScalingTargetId;
|
|
8913
|
-
|
|
8914
|
-
const dimension = targetId.split("|")[1];
|
|
8913
|
+
const dimension = typeof targetId === "string" ? targetId.split("|")[1] : typeof declared.ScalableDimension === "string" ? declared.ScalableDimension : void 0;
|
|
8915
8914
|
return dimension ? `${pid}|${dimension}` : void 0;
|
|
8916
8915
|
}
|
|
8917
8916
|
function compositeWith(parentKey) {
|