@@ -94,18 +94,18 @@ Resources:
94
94
{
95
95
" Effect " : " Allow" ,
96
96
" 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
109
109
],
110
110
" Resource " : " *"
111
111
}
@@ -118,27 +118,27 @@ Resources:
118
118
{
119
119
" Effect " : " Allow" ,
120
120
" 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
142
142
],
143
143
" Resource " : " *"
144
144
}
0 commit comments