File tree Expand file tree Collapse file tree 2 files changed +3
-16
lines changed Expand file tree Collapse file tree 2 files changed +3
-16
lines changed Original file line number Diff line number Diff line change @@ -31,23 +31,11 @@ Statement:
3131 - ' arn:aws:iam::aws:policy/service-role/AmazonDMSVPCManagementRole'
3232 - ' arn:aws:iam::aws:policy/service-role/AmazonRDSEnhancedMonitoringRole'
3333 - ' arn:aws:iam::aws:policy/service-role/AWSServiceRoleForVPCTransitGateway'
34- - ' arn:aws:iam::aws:policy/service-role/AmazonEC2ContainerServiceRole'
35-
36- # Legacy - We need to backport ansible-collections/community.aws/63 or
37- # wait until community.aws drops CI support for Ansible 2.9
38- - Sid : AllowPassRole
39- Effect : Allow
40- Action :
41- - iam:PassRole
42- Resource :
43- - ' arn:aws:iam::{{ aws_account_id }}:role/ansible_lambda_role'
34+ - ' arn:aws:iam::aws:policy/service-role/AmazonECSTaskExecutionRolePolicy'
4435
4536 - Sid : AllowRegionalUnrestrictedResourceActionsWhichIncurNoFees
4637 Effect : Allow
4738 Action :
48- - iam:ListAccountAliases
49- - iam:ListPolicies
50- - iam:ListInstanceProfiles
5139 - iam:GetUser
5240 - acm:ListCertificates
5341 - acm:ListTagsForCertificate
@@ -143,7 +131,6 @@ Statement:
143131 - iam:GetInstanceProfile
144132 - iam:GetSAMLProvider
145133 - iam:GetServerCertificate
146- - iam:ListInstanceProfilesForRole
147134 - iam:PassRole
148135 - iam:RemoveRoleFromInstanceProfile
149136 - iam:UpdateSAMLProvider
Original file line number Diff line number Diff line change 1- from datetime import datetime
1+ from datetime import datetime , timedelta
22
33from . import DbTerminator , Terminator
44
@@ -221,7 +221,7 @@ def _paginate_service_results():
221221class EcsCluster (DbTerminator ):
222222 @property
223223 def age_limit (self ):
224- return datetime . timedelta (minutes = 30 )
224+ return timedelta (minutes = 30 )
225225
226226 @property
227227 def name (self ):
You can’t perform that action at this time.
0 commit comments