Skip to content

Commit

Permalink
fix: Remove unnecessary IAM permission for cluster autoscaler
Browse files Browse the repository at this point in the history
  • Loading branch information
blanchardma committed May 5, 2023
1 parent 3cd8f1a commit 91993b8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions modules/iam-role-for-service-accounts-eks/policies.tf
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,7 @@ data "aws_iam_policy_document" "cluster_autoscaler" {
content {
actions = [
"autoscaling:SetDesiredCapacity",
"autoscaling:TerminateInstanceInAutoScalingGroup",
"autoscaling:UpdateAutoScalingGroup",
"autoscaling:TerminateInstanceInAutoScalingGroup"
]

resources = ["*"]
Expand Down

0 comments on commit 91993b8

Please sign in to comment.