dcl-ops-lib 6.10.2 → 6.10.3
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/createFargateTask.js +2 -2
- package/package.json +1 -1
package/createFargateTask.js
CHANGED
|
@@ -383,8 +383,8 @@ function setAutoscaling(service, config) {
|
|
|
383
383
|
maxCapacity: config.maxCapacity,
|
|
384
384
|
minCapacity: config.desiredCount,
|
|
385
385
|
resourceId: service.id.apply((id) => {
|
|
386
|
-
console.log({ serviceId: id });
|
|
387
|
-
return id;
|
|
386
|
+
console.log({ serviceId: id.split(':').pop() });
|
|
387
|
+
return id.split(':').pop();
|
|
388
388
|
}),
|
|
389
389
|
scalableDimension: "ecs:service:DesiredCount",
|
|
390
390
|
serviceNamespace: "ecs",
|