Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Additional ASG permissions for autoscaling_instance #311

Merged
merged 3 commits into from
Nov 7, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 8 additions & 9 deletions aws/policy/compute.yaml
tremble marked this conversation as resolved.
Show resolved Hide resolved
tremble marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Statement:
- Sid: AllowRunInstancesInstanceType
Effect: Allow
Action:
- autoscaling:AttachInstances
- autoscaling:CreateAutoScalingGroup
- autoscaling:CreateLaunchConfiguration
- autoscaling:UpdateAutoScalingGroup
Expand Down Expand Up @@ -110,6 +111,8 @@ Statement:
Effect: Allow
Action:
- autoscaling:Describe*
- autoscaling:ResumeProcesses
- autoscaling:SuspendProcesses
- ec2:Describe*
- elasticloadbalancing:DeleteRule
- elasticloadbalancing:DeleteListener
Expand All @@ -128,7 +131,7 @@ Statement:
Action:
- autoscaling:EnableMetricsCollection
- ec2:CreateVolume
- elasticloadbalancing:CreateLoadBalancer
- elasticloadbalancing:CreateLoadBalancer*
- elasticloadbalancing:CreateRule
Resource:
- 'arn:aws:ec2:{{ aws_region }}:{{ aws_account_id }}:volume/*'
Expand All @@ -150,6 +153,8 @@ Statement:
- autoscaling:PutScheduledUpdateGroupAction
- autoscaling:PutLifecycleHook
- autoscaling:StartInstanceRefresh
- autoscaling:SetInstanceHealth
- autoscaling:SetInstanceProtection
- autoscaling:TerminateInstanceInAutoScalingGroup
- ec2:DeleteVolume
- elasticloadbalancing:AddListenerCertificates
Expand All @@ -160,13 +165,8 @@ Statement:
- elasticloadbalancing:CreateAppCookieStickinessPolicy
- elasticloadbalancing:CreateLBCookieStickinessPolicy
- elasticloadbalancing:CreateListener
- elasticloadbalancing:CreateLoadBalancerListeners
- elasticloadbalancing:CreateLoadBalancerPolicy
- elasticloadbalancing:CreateTargetGroup
- elasticloadbalancing:DeleteLoadBalancer
- elasticloadbalancing:DeleteLoadBalancerListeners
- elasticloadbalancing:DeleteLoadBalancerPolicy
- elasticloadbalancing:DeleteTargetGroup
- elasticloadbalancing:Delete*
- elasticloadbalancing:DeregisterInstancesFromLoadBalancer
- elasticloadbalancing:DetachLoadBalancerFromSubnets
- elasticloadbalancing:DisableAvailabilityZonesForLoadBalancer
Expand All @@ -175,8 +175,7 @@ Statement:
- elasticloadbalancing:RemoveTags
- elasticloadbalancing:RegisterInstancesWithLoadBalancer
- elasticloadbalancing:RegisterTargets
- elasticloadbalancing:SetLoadBalancerPoliciesForBackendServer
- elasticloadbalancing:SetLoadBalancerPoliciesOfListener
- elasticloadbalancing:SetLoadBalancer*
- elasticloadbalancing:SetSecurityGroups
- elasticloadbalancing:SetWebACL
Resource:
Expand Down