dcl-ops-lib 6.8.7 → 6.8.8

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.
@@ -379,9 +379,8 @@ function createInternalService(config) {
379
379
  return service;
380
380
  });
381
381
  }
382
- function setAutoscaling(service, config) {
383
- const taskUniqueIdentifier = `${service.name}-${domain_1.env}`;
384
- const ecsTarget = new aws.appautoscaling.Target(`ecs-target-${taskUniqueIdentifier}`, {
382
+ function setAutoscaling(_, config) {
383
+ const ecsTarget = new aws.appautoscaling.Target(`ecs-target-asset-bundle-converter-dev`, {
385
384
  maxCapacity: config.maxCapacity,
386
385
  minCapacity: config.desiredCount,
387
386
  resourceId: 'service/dev-main/asset-bundle-converter-blue-ad2fc4b',
@@ -404,7 +403,7 @@ function setAutoscaling(service, config) {
404
403
  if (config.metricName === "ApproximateNumberOfMessagesVisible") {
405
404
  TTS_CustomizedMetricSpecification = CSM_ApproximateNumberOfMessagesVisible;
406
405
  }
407
- return new aws.appautoscaling.Policy(`ecs-autoscaling-policy-${taskUniqueIdentifier}`, {
406
+ return new aws.appautoscaling.Policy(`ecs-autoscaling-policy-asset-bundle-converter-dev`, {
408
407
  policyType: "TargetTrackingScaling",
409
408
  resourceId: ecsTarget.resourceId,
410
409
  scalableDimension: ecsTarget.scalableDimension,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dcl-ops-lib",
3
- "version": "6.8.7",
3
+ "version": "6.8.8",
4
4
  "scripts": {
5
5
  "build": "tsc && cp bin/* . && node test.js",
6
6
  "clean": "rm *.d.ts *.js *.js.map"