Skip to content

Commit b8a58f7

Browse files
committed
colon issue in template file
1 parent c356137 commit b8a58f7

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

CloudFormation/template.yaml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)