From c67ca972902073f255eef233d39e8d3c52b338ab Mon Sep 17 00:00:00 2001 From: larisa17 Date: Tue, 2 Jul 2024 19:50:55 +0300 Subject: [PATCH] modify resource id for the scaling --- infra/aws/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infra/aws/index.ts b/infra/aws/index.ts index b975e0e..e68a36f 100644 --- a/infra/aws/index.ts +++ b/infra/aws/index.ts @@ -288,7 +288,7 @@ const service_data = DOCKER_SCROLL_SERVICE_IMAGE.apply((drk_image) => { { maxCapacity: 10, minCapacity: 1, - resourceId: pulumi.interpolate`service/${passportClusterNameArn}/${service.name}`, + resourceId: pulumi.interpolate`service/${passportClusterName}/${service.name}`, scalableDimension: "ecs:service:DesiredCount", serviceNamespace: "ecs", }