moto icon indicating copy to clipboard operation
moto copied to clipboard

[ECS] Does RunTask support capacityProviderStrategy?

Open estyrke opened this issue 9 months ago • 0 comments

Hi,

I'm trying to test a call to ecs.RunTask with a capacityProviderStrategy argument (and no launchType). The capacityProvider specified is using an autoScalingGroup. This is supposed to use autoscaling to create instances for the tasks, but I'm getting Exception: No instances found in cluster test-cluster when I do this. Looking at the code it seems like the runTask method doesn't use the capacityProviderStrategy argument, so I'm suspecting that this mode of operation is not supported. Is that correct?

estyrke avatar Mar 27 '25 10:03 estyrke