Skip to content

Commit e4a4bfa

Browse files
committed
fix(lambda): replace ec2:RemoveTags with ec2:DeleteTags and tag:UntagResources in scale-down policy
1 parent 8ff9901 commit e4a4bfa

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

modules/runners/policies/lambda-scale-down.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
"Action": [
1717
"ec2:TerminateInstances",
1818
"ec2:CreateTags",
19-
"ec2:RemoveTags"
19+
"ec2:DeleteTags",
20+
"tag:UntagResources"
2021
],
2122
"Resource": [
2223
"*"
@@ -32,7 +33,8 @@
3233
"Action": [
3334
"ec2:TerminateInstances",
3435
"ec2:CreateTags",
35-
"ec2:RemoveTags"
36+
"ec2:DeleteTags",
37+
"tag:UntagResources"
3638
],
3739
"Resource": [
3840
"*"

0 commit comments

Comments
 (0)