Skip to content

Commit b09f746

Browse files
committed
No quotes in YAML
1 parent 6e8f7e2 commit b09f746

File tree

1 file changed

+33
-33
lines changed

1 file changed

+33
-33
lines changed

cloud-formation/github-role.yaml

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -94,18 +94,18 @@ Resources:
9494
{
9595
"Effect": "Allow",
9696
"Action": [
97-
"ecs:CreateCluster",
98-
"ecs:CreateService",
99-
"ecs:DeleteCluster",
100-
"ecs:DeleteService",
101-
"ecs:DeregisterTaskDefinition",
102-
"ecs:DescribeClusters",
103-
"ecs:DescribeServices",
104-
"ecs:RegisterTaskDefinition",
105-
"ecs:UpdateService",
106-
"iam:AttachRolePolicy",
107-
"iam:DetachRolePolicy",
108-
"iam:PassRole"
97+
ecs:CreateCluster,
98+
ecs:CreateService,
99+
ecs:DeleteCluster,
100+
ecs:DeleteService,
101+
ecs:DeregisterTaskDefinition,
102+
ecs:DescribeClusters,
103+
ecs:DescribeServices,
104+
ecs:RegisterTaskDefinition,
105+
ecs:UpdateService,
106+
iam:AttachRolePolicy,
107+
iam:DetachRolePolicy,
108+
iam:PassRole
109109
],
110110
"Resource": "*"
111111
}
@@ -118,27 +118,27 @@ Resources:
118118
{
119119
"Effect": "Allow",
120120
"Action": [
121-
"ec2:AssociateRouteTable",
122-
"ec2:AttachInternetGateway",
123-
"ec2:CreateInternetGateway",
124-
"ec2:CreateRoute",
125-
"ec2:CreateRouteTable",
126-
"ec2:CreateSecurityGroup",
127-
"ec2:CreateSubnet",
128-
"ec2:CreateTags",
129-
"ec2:CreateVpc",
130-
"ec2:DeleteInternetGateway",
131-
"ec2:DeleteSecurityGroup",
132-
"ec2:DeleteSubnet",
133-
"ec2:DeleteVpc",
134-
"ec2:DescribeInternetGateways",
135-
"ec2:DescribeRouteTables",
136-
"ec2:DescribeSecurityGroups",
137-
"ec2:DescribeSubnets",
138-
"ec2:DescribeVpcs",
139-
"ec2:DetachInternetGateway",
140-
"ec2:ModifySubnetAttribute",
141-
"ec2:ModifyVpcAttribute"
121+
ec2:AssociateRouteTable,
122+
ec2:AttachInternetGateway,
123+
ec2:CreateInternetGateway,
124+
ec2:CreateRoute,
125+
ec2:CreateRouteTable,
126+
ec2:CreateSecurityGroup,
127+
ec2:CreateSubnet,
128+
ec2:CreateTags,
129+
ec2:CreateVpc,
130+
ec2:DeleteInternetGateway,
131+
ec2:DeleteSecurityGroup,
132+
ec2:DeleteSubnet,
133+
ec2:DeleteVpc,
134+
ec2:DescribeInternetGateways,
135+
ec2:DescribeRouteTables,
136+
ec2:DescribeSecurityGroups,
137+
ec2:DescribeSubnets,
138+
ec2:DescribeVpcs,
139+
ec2:DetachInternetGateway,
140+
ec2:ModifySubnetAttribute,
141+
ec2:ModifyVpcAttribute
142142
],
143143
"Resource": "*"
144144
}

0 commit comments

Comments
 (0)