Unable to find Minimum/Maximum task value for ECS
I am working with aws boto3 lib and trying to retrieve certain values. I first retrieve all cluster list, then fetch specific services, then call describe-service for them. But I am unable to retrieve two fields Minimum tasks and Maximum tasks for services which get displayed on AWS ECS console page under Auto Scaling tab.
Anybody has any idea how to get these values from?
The ECS console hides this fact, but those are actually in the Application AutoScaling configuration, not the ECS configuration. I believe you would need to call describe_scalable_targets
in ApplicationAutoScaling to get those values.