dcl-ops-lib 6.10.0 → 6.10.2
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 +4 -1
- package/package.json +1 -1
package/createFargateTask.js
CHANGED
|
@@ -382,7 +382,10 @@ function setAutoscaling(service, config) {
|
|
|
382
382
|
const ecsTarget = new aws.appautoscaling.Target(`ecs-target-asset-bundle-windows-converter-dev`, {
|
|
383
383
|
maxCapacity: config.maxCapacity,
|
|
384
384
|
minCapacity: config.desiredCount,
|
|
385
|
-
resourceId: service.id
|
|
385
|
+
resourceId: service.id.apply((id) => {
|
|
386
|
+
console.log({ serviceId: id });
|
|
387
|
+
return id;
|
|
388
|
+
}),
|
|
386
389
|
scalableDimension: "ecs:service:DesiredCount",
|
|
387
390
|
serviceNamespace: "ecs",
|
|
388
391
|
});
|