@@ -18,21 +18,21 @@ data "aws_iam_policy_document" "codedeploy_assume_role_policy" {
18
18
data "aws_iam_policy_document" "codedeploy_policy" {
19
19
statement {
20
20
actions = [
21
- " ecs:CreateTaskSet" ,
21
+ " elasticloadbalancing:RegisterTargets" ,
22
+ " elasticloadbalancing:ModifyTargetGroup" ,
23
+ " elasticloadbalancing:ModifyListener" ,
24
+ " elasticloadbalancing:DeregisterTargets" ,
25
+ " ecs:UpdateTaskSet" ,
22
26
" ecs:UpdateService" ,
27
+ " ecs:DescribeTaskSets" ,
23
28
" ecs:DescribeServices" ,
24
29
" ecs:DeleteTaskSet" ,
25
- " ecs:DescribeTaskSets" ,
26
- " ecs:UpdateTaskSet" ,
27
- " elasticloadbalancing:ModifyListener" ,
28
- " elasticloadbalancing:ModifyTargetGroup" ,
29
- " elasticloadbalancing:DeregisterTargets" ,
30
- " elasticloadbalancing:RegisterTargets" ,
31
- " autoscaling:DescribeAutoScalingGroups" ,
32
- " autoscaling:UpdateAutoScalingGroup" ,
33
- " codedeploy:CreateDeployment" ,
30
+ " ecs:CreateTaskSet" ,
31
+ " codedeploy:StopDeployment" ,
34
32
" codedeploy:GetDeployment" ,
35
- " codedeploy:StopDeployment"
33
+ " codedeploy:CreateDeployment" ,
34
+ " autoscaling:UpdateAutoScalingGroup" ,
35
+ " autoscaling:DescribeAutoScalingGroups"
36
36
]
37
37
effect = " Allow"
38
38
resources = [" *" ]
0 commit comments