Skip to content

Commit

Permalink
Add required resource for terminate instance action (#428)
Browse files Browse the repository at this point in the history
Signed-off-by: rasel <rasel@appscode.com>
  • Loading branch information
Superm4n97 authored Jan 10, 2025
1 parent d758eb1 commit 3cf773e
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,6 @@ Resources:
- 'ec2:ReleaseAddress'
- 'ec2:RevokeSecurityGroupIngress'
- 'ec2:RunInstances'
- 'ec2:TerminateInstances'
- 'tag:GetResources'
- 'elasticloadbalancing:AddTags'
- 'elasticloadbalancing:CreateLoadBalancer'
Expand Down Expand Up @@ -349,6 +348,10 @@ Resources:
- 'eks:DescribeCluster' #import cluster action
- 'eks:ListClusters' #import cluster action
Resource: '*'
- Effect: Allow
Action:
- 'ec2:TerminateInstances'
Resource: 'arn:*:ec2:*:*:instance/i-*'
- Effect: Allow
Action:
- 'autoscaling:CreateAutoScalingGroup'
Expand Down

0 comments on commit 3cf773e

Please sign in to comment.