Skip to content

Commit 00f484d

Browse files
authored
Merge pull request #1244 from buildkite/pdp-1858-add-more-service-role-permissions
2 parents 621fd2d + 81c5284 commit 00f484d

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

templates/service-role.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,8 @@ Resources:
183183
"lambda:InvokeFunction",
184184
"lambda:TagResource",
185185
"lambda:UpdateFunctionConfiguration",
186-
"lambda:UpdateFunctionCode"
186+
"lambda:UpdateFunctionCode",
187+
"lambda:ListTags"
187188
],
188189
"Resource": "arn:aws:lambda:*:*:function:*"
189190
},
@@ -192,7 +193,8 @@ Resources:
192193
"Action": [
193194
"logs:CreateLogGroup",
194195
"logs:PutRetentionPolicy",
195-
"logs:DeleteLogGroup"
196+
"logs:DeleteLogGroup",
197+
"logs:TagResource",
196198
],
197199
"Resource": "arn:aws:logs:*:*:log-group:*"
198200
},
@@ -297,7 +299,8 @@ Resources:
297299
"autoscaling:PutWarmPool",
298300
"autoscaling:DeleteWarmPool",
299301
"autoscaling:TerminateInstanceInAutoScalingGroup",
300-
"autoscaling:AttachInstances"
302+
"autoscaling:AttachInstances",
303+
"autoscaling:DisableMetricsCollection"
301304
],
302305
"Resource": "*"
303306
},

0 commit comments

Comments
 (0)