Skip to content

Commit

Permalink
add fargate service quotas
Browse files Browse the repository at this point in the history
  • Loading branch information
Rob Pickerill committed Apr 21, 2021
1 parent 8921393 commit bbda9f7
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions awslimitchecker/services/ecs.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -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
Expand Down

0 comments on commit bbda9f7

Please sign in to comment.