moto
moto copied to clipboard
[ECS] Does RunTask support capacityProviderStrategy?
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?