File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -194,7 +194,6 @@ Resources:
194194 MaxSessionDuration : 3600
195195 Description : " Github Actions role"
196196 Policies :
197-
198197 - PolicyName : ' CodeDeployRoleforGitHub-policy'
199198 PolicyDocument :
200199 Version : ' 2012-10-17'
@@ -292,17 +291,16 @@ Resources:
292291 PolicyDocument :
293292 Version : " 2012-10-17"
294293 Statement :
295- -
296- Effect : Allow
294+ - Effect : Allow
297295 Action :
298296 - ec2:RunInstances
299297 - ec2:CreateTags
300298 - iam:PassRole
301- - ' autoscaling:Describe*'
302- - ' autoscaling:UpdateAutoScalingGroup'
303- - ' autoscaling:AttachInstances'
304- - ' autoscaling:DetachInstances'
305- - ' autoscaling:TerminateInstanceInAutoScalingGroup'
299+ - ' autoscaling:Describe*'
300+ - ' autoscaling:UpdateAutoScalingGroup'
301+ - ' autoscaling:AttachInstances'
302+ - ' autoscaling:DetachInstances'
303+ - ' autoscaling:TerminateInstanceInAutoScalingGroup'
306304 Resource :
307305 - !Sub ' arn:${AWS::Partition}:codedeploy:*:${AWS::AccountId}:*'
308306
You can’t perform that action at this time.
0 commit comments