sparse-intern-71089
06/23/2022, 6:06 PMbillowy-army-68599
acoustic-spring-42110
06/23/2022, 6:17 PMaws.appautoscaling.Target
sets the resourceId (service/cluster_name/service_name) and the aws.appautoscaling.Policy
references that as wellbillowy-army-68599
billowy-army-68599
acoustic-spring-42110
06/23/2022, 6:20 PMbillowy-army-68599
aws.appautoscaling.Target
resource code?acoustic-spring-42110
06/23/2022, 6:28 PMconst cpuStepScalingTarget = new aws.appautoscaling.Target("ecsTarget", {
maxCapacity: 5,
minCapacity: 1,
serviceNamespace: "ecs",
resourceId: pulumi.interpolate`service/${app.cluster.cluster.name}/${app.service.name}`,
scalableDimension: "ecs:service:DesiredCount",
});
Where app
is awsx.ecs.FargateService
that is successfully being created.billowy-army-68599
acoustic-spring-42110
06/23/2022, 6:40 PM