From bbda9f754d71e4d40bd4de9a1d6a35a626b2a15f Mon Sep 17 00:00:00 2001 From: Rob Pickerill Date: Wed, 21 Apr 2021 19:49:30 +0100 Subject: [PATCH] add fargate service quotas --- awslimitchecker/services/ecs.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/awslimitchecker/services/ecs.py b/awslimitchecker/services/ecs.py index aa7fef86..90fb2d14 100644 --- a/awslimitchecker/services/ecs.py +++ b/awslimitchecker/services/ecs.py @@ -208,7 +208,9 @@ def get_limits(self): self.warning_threshold, self.critical_threshold, limit_type='AWS::ECS::TaskDefinition', - limit_subtype='Fargate' + limit_subtype='Fargate', + quotas_name='Fargate On-Demand resource count', + quotas_service_code='fargate' ) limits['Fargate Spot resource count'] = AwsLimit( 'Fargate Spot resource count', @@ -217,7 +219,9 @@ def get_limits(self): self.warning_threshold, self.critical_threshold, limit_type='AWS::ECS::TaskDefinition', - limit_subtype='FargateSpot' + limit_subtype='FargateSpot', + quotas_name='Fargate Spot resource count', + quotas_service_code='fargate' ) self.limits = limits return limits